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