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