public void AddBattleRectangle(int allyno, BattleRect rect) { if (battle != null) { RemoveBattleRectangle(allyno); battle.Rectangles.Add(allyno, rect); con.SendCommand(0, "ADDSTARTRECT", allyno, rect.Left, rect.Top, rect.Right, rect.Bottom); } }
public void AddBattleRectangle(int allyno, BattleRect rect) { if (battle != null) { if (allyno < Spring.MaxAllies && allyno >= 0) { RemoveBattleRectangle(allyno); battle.Rectangles.Add(allyno, rect); con.SendCommand(0, "ADDSTARTRECT", allyno, rect.Left, rect.Top, rect.Right, rect.Bottom); } } }
public GrAlly(BattleRect r) { rect = r; }
public GrAlly(BattleRect r) { rect = r; }