示例#1
0
 public PlayerAbilities(PlayerEntity entity)
 {
     FirePropertyChanged = false;
     IsFlying = false;
     MayFly = false;
     Invulnerable = false;
     InstantMine = false;
     FirePropertyChanged = true;
     FlyingSpeed = 0.05f;
     WalkingSpeed = 0.1f;
     PlayerEntity = entity;
 }
示例#2
0
 public RemoteClient GetClient(PlayerEntity entity)
 {
     return Server.Clients.Single(c => c.Entity == entity);
 }