public void addActor(BoardActor ba) { if (ba != null) { actors.Add(ba, ba.getBounds()); ba.setBoard(this); } onBoardChanged(); }
public void deleteActor(BoardActor ba) { actors.Remove(ba, ba.getBounds()); ba.setBoard(null); onBoardChanged(); }
public void addActor(BoardActor ba) { if (ba != null) { actors.Add(ba, ba.getBounds()); ba.setBoard(this); } onBoardChanged(); }
public void deleteActor(BoardActor ba) { actors.Remove(ba, ba.getBounds()); ba.setBoard(null); onBoardChanged(); }