9899100101102103104105
/** * Buy the given tower (by adding the command in the Engine) * */ public void buyTower(Player player, String type, int x, int y) { BuyTower buyTower = new BuyTower(player, type, x, y); Engine.getInstance().getCommands().add(buyTower); }