Пример #1
0
 public AIObject(AIRoleType r, Vector3 p, bool isBot)
     : base()
 {
     _team = null;
     _isBot = isBot;
     if (r == AIRoleType.TeamLeader)
     {
         //r = AIRoleType.Infantry;
         _isLeader = true;
     }
     _role = r;
     Status = AIMovementStatus.Walk;
     Position = p;
 }
Пример #2
0
 public AIObject(AIRoleType r, Vector3 p, bool isBot)
     : base()
 {
     _team  = null;
     _isBot = isBot;
     if (r == AIRoleType.TeamLeader)
     {
         //r = AIRoleType.Infantry;
         _isLeader = true;
     }
     _role    = r;
     Status   = AIMovementStatus.Walk;
     Position = p;
 }