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
-
Constructor Summary
Constructors Constructor Description ModelManager()
-
Method Summary
Modifier and Type Method Description void
Add(IsoGameCharacter chr)
void
create()
void
DoneRendering(int ID)
void
DoRender(int ID)
void
getClosestThreeLights(IsoGameCharacter chr, IsoLightSource[] ret)
ModelInstance
newInstance(Model model, IsoGameCharacter chr, AnimationPlayer player)
void
Remove(IsoGameCharacter chr)
void
Reset()
void
Reset(IsoGameCharacter chr)
void
ResetNextFrame(IsoGameCharacter isoGameCharacter)
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 -
lights
public java.util.Stack lights
-
-
Constructor Details
-
ModelManager
public ModelManager()
-
-
Method Details
-
create
public void create() -
DoRender
public void DoRender(int ID) -
DoneRendering
public void DoneRendering(int ID) -
Reset
-
Add
-
update
public void update() -
Remove
-
ResetNextFrame
-
Reset
public void Reset() -
getClosestThreeLights
-
newInstance
-