Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
IInjurable.cs
浏览该文件的文档.
1namespace Game {
2 public interface IInjurable {
3 float Health { get; set; }
4 float VoidDamageFactor { get; set; } //y轴过高或者过低造成的伤害系数
5 float AirLackResilience { get; set; } //溺水伤害抗性
6 float MagmaResilience { get; set; } //熔岩伤害抗性
7 float CrushResilience { get; set; } //挤压伤害抗性
8 float SpikeResilience { get; set; } //尖刺伤害抗性
9 float ExplosionResilience { get; set; } //爆炸伤害抗性
10 float LastHealth { get; set; }
11 void Injure(Injury injury);
12 void Die(Injury injury);
13 }
14}
void Injure(Injury injury)
void Die(Injury injury)