コード例 #1
0
ファイル: AIObject.cs プロジェクト: siupa/AIGame
 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;
 }