コード例 #1
0
ファイル: ArmyTest.cs プロジェクト: AsuraIII/game625-fall2020
    private void Start()
    {
        RedArmy  r = new RedArmy();
        BlueArmy b = new BlueArmy();

        b.attack();
        r.attack();
    }
コード例 #2
0
ファイル: Game.cs プロジェクト: sunruslan/RPG
 public Game(Level level, UnitType unit)
 {
     _level    = level;
     _unit     = unit;
     _redArmy  = new RedArmy();
     _blueArmy = new BlueArmy();
     Actions   = new Queue <IAction>();
 }