Package zombie.core.skinnedmodel
Class ModelManager
java.lang.Object
zombie.core.skinnedmodel.ModelManager
public class ModelManager
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelManager.AnimRequest
static class
ModelManager.ModelSlot
-
Field Summary
Fields Modifier and Type Field Description boolean
bCreated
boolean
bDebugEnableModels
TextureFBO
bitmap
java.util.HashSet
Contains
static ModelManager
instance
java.util.Stack
lights
java.util.HashMap
ModelMap
java.util.ArrayList
ModelSlots
boolean
returnContext
java.util.ArrayList
ToRemove
java.util.ArrayList
ToRemoveVehicles
-
Constructor Summary
Constructors Constructor Description ModelManager()
-
Method Summary
Modifier and Type Method Description void
Add(IsoGameCharacter gameCharacter)
void
Add(BaseVehicle baseVehicle)
void
create()
void
DoneRendering(int int1)
void
DoRender(int int1)
void
getClosestThreeLights(IsoMovingObject movingObject, IsoLightSource[] lightSourceArray)
ModelInstance
newInstance(Model model, IsoGameCharacter gameCharacter, AnimationPlayer animationPlayer)
void
Remove(IsoGameCharacter gameCharacter)
void
Remove(BaseVehicle baseVehicle)
void
RenderSkyBox(TextureDraw textureDraw, int int1, int int2, int int3, int int4)
void
Reset()
void
Reset(IsoGameCharacter gameCharacter)
void
ResetNextFrame(IsoGameCharacter gameCharacter)
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
ModelMap
public java.util.HashMap ModelMap -
ModelSlots
public java.util.ArrayList ModelSlots -
bitmap
-
bCreated
public boolean bCreated -
bDebugEnableModels
public boolean bDebugEnableModels -
Contains
public java.util.HashSet Contains -
returnContext
public boolean returnContext -
ToRemove
public java.util.ArrayList ToRemove -
ToRemoveVehicles
public java.util.ArrayList ToRemoveVehicles -
lights
public java.util.Stack lights
-
-
Constructor Details
-
ModelManager
public ModelManager()
-
-
Method Details
-
create
public void create() -
DoRender
public void DoRender(int int1) -
RenderSkyBox
-
DoneRendering
public void DoneRendering(int int1) -
Reset
-
Add
-
update
public void update() -
Remove
-
Remove
-
ResetNextFrame
-
Reset
public void Reset() -
getClosestThreeLights
-
Add
-
newInstance
public ModelInstance newInstance(Model model, IsoGameCharacter gameCharacter, AnimationPlayer animationPlayer)
-