示例#1
0
 public void InitializeUnit(IUnitClasses unitClass, int posX, int posY, bool isPlayable)
 {
     this.unitClass  = unitClass;
     this.posX       = posX;
     this.posY       = posY;
     this.isPlayable = isPlayable;
 }
示例#2
0
 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;
 }