Beispiel #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;
 }
Beispiel #2
0
 @Override
 public Entity createAndSpawnEntity(Point point, LoadOption option, EntityPrefab prefab) {
   getRegionFromBlock(point, option);
   Entity e = createEntity(point, prefab);
   return e;
 }