示例#1
0
 public <T extends GameObject> void placeGameObjectStep(
     GameObjectMap<T> goMap, T gameObject, Cords endCords) {
   goMap.place(endCords, gameObject);
   currentTurnSteps.makeStep(goMap, gameObject, null, endCords);
 }
示例#2
0
 public <T extends GameObject> void killStep(GameObjectMap<T> goMap, Cords startCords) {
   currentTurnSteps.makeStep(goMap, goMap.get(startCords), startCords, null);
   goMap.kill(startCords);
 }
示例#3
0
 public <T extends GameObject> void makeMoveStep(
     GameObjectMap<T> goMap, Cords startCords, Cords endCords) {
   currentTurnSteps.makeStep(goMap, goMap.get(startCords), startCords, endCords);
   goMap.makeMove(startCords, endCords);
 }