예제 #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();
 }