Example #1
0
    public void CreateUnit(int number)
    {
        Unit newUnit = Unit.UnitFactory(123, unitsAssets.Unit(number), mainHex, Player);

        newUnit.InCity = true;
        Player.units.Add(newUnit);
        UnitsInCity.Add(newUnit);
    }