示例#1
0
 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();
 }
示例#2
0
 public virtual void Die()
 {
     CurrentActorState = new Dead();
 }