public Unit(UnitType type, Tile tile, Player owner) { ID = units.Count; this.type = type; SetHealth(type.maxHealth); SetOwner(owner); SetTile(tile); tile.PlaceUnit(this); Refuel(); owner.AddUnit(this); units.Add(this); }