예제 #1
0
 @Override
 public Entity createAndSpawnEntity(
     Point point, LoadOption option, Class<? extends Component>... classes) {
   getRegionFromBlock(point, option);
   Entity e = createEntity(point, classes);
   spawnEntity(e);
   return e;
 }
예제 #2
0
 @Override
 public Entity createAndSpawnEntity(Point point, LoadOption option, EntityPrefab prefab) {
   getRegionFromBlock(point, option);
   Entity e = createEntity(point, prefab);
   return e;
 }