public void InitializeUnit(IUnitClasses unitClass, int posX, int posY, bool isPlayable) { this.unitClass = unitClass; this.posX = posX; this.posY = posY; this.isPlayable = isPlayable; }
public UnitLineup(IUnitClasses unitClass, int prefab, int posX, int posY, int sprite, bool isPlayable) { this.unitClass = unitClass; this.prefab = prefab; this.posX = posX; this.posY = posY; this.sprite = sprite; this.isPlayable = isPlayable; }