Пример #1
0
 public Image getTexture() {
   if (defaultmodel != null && texture == null) return defaultmodel.getTexture();
   else return texture;
 }
Пример #2
0
 public String getType() {
   if (defaultmodel != null && type == null) return defaultmodel.getType();
   else return type;
 }
Пример #3
0
 public String getTexturepath() {
   if (defaultmodel != null && texturepath == null) return defaultmodel.getTexturepath();
   else return texturepath;
 }
Пример #4
0
 public Model getDefaultmodel() {
   if (defaultmodel != null && defaultmodel == null) return defaultmodel.getDefaultmodel();
   else return defaultmodel;
 }