protected ActorBase(string id, Vector3 position, Vector3 velocity, int team) { ActorId = id; IncreaseChargeTime = true; Position = position; Velocity = velocity; FacingDirection = Vector3.Forward; Team = team; CurrentActorState = new Alive(); AbilityList = new List<AbilityInformation>(); SetupStats(); SetupAbilityList(); }
public virtual void Die() { CurrentActorState = new Dead(); }