Exemple #1
0
 public static Entity createEntity(model _model, Texture texture) {
   Entity e = createEntity(_model);
   e.texture = texture;
   return e;
 }
Exemple #2
0
 public static Entity createEntity(float[] inpos) {
   Entity e = createEntity();
   e.pos = inpos;
   return e;
 }
Exemple #3
0
 public static Entity createEntity(model _model) {
   Entity e = createEntity();
   e.setModel(_model);
   return e;
 }
Exemple #4
0
 public static Entity createEntity() {
   Entity e = new Entity();
   e.ID = entities.size();
   entities.add(e);
   return e;
 }