public static void npcSpawn() { if (isNpc() == true) { game.setDummy(new Dummy(game.level, "Dummy", 100, 150, 500, 543)); game.level.addEntity(Game.getDummy()); } }
public static void npcKill() { if (isNpc() == false) { game.level.removeEntity(Game.getDummy()); } }