public abstract class UUIDSystem extends Object implements System<UUIDEntity>
| Modifier and Type | Field and Description | 
|---|---|
protected Map<UUID,UUIDEntity> | 
entities  | 
protected boolean | 
isDebugging  | 
| Constructor and Description | 
|---|
UUIDSystem()
Default constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addEntity(UUIDEntity entity)
 | 
void | 
interpolate(GameContainer gc,
           float alpha)
Interpolate the  
System | 
abstract void | 
interpolate(UUIDEntity entity,
           GameContainer gc,
           float alpha)
Interpolate an  
UUIDEntity | 
boolean | 
isDebugging()
Returns if this  
System is debugging | 
void | 
removeEntity(UUIDEntity entity)
 | 
void | 
render(GameContainer gc,
      Graphics g)
Render the  
System | 
abstract void | 
render(UUIDEntity entity,
      GameContainer gc,
      Graphics g)
Render an  
UUIDEntity and any debugging information if debugging is
 enabled | 
void | 
setDebugging(boolean isDebugging)
Sets whether or not this  
System is in debug mode | 
void | 
update(GameContainer gc,
      float delta)
Update the  
System | 
abstract void | 
update(UUIDEntity entity,
      GameContainer gc,
      float delta)
Update an  
UUIDEntity | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialiseprotected Map<UUID,UUIDEntity> entities
protected boolean isDebugging
public void addEntity(UUIDEntity entity)
SystemaddEntity in interface System<UUIDEntity>entity - The Entity to be addedpublic void removeEntity(UUIDEntity entity)
SystemremoveEntity in interface System<UUIDEntity>entity - The UUIDEntity to be removedpublic void update(GameContainer gc, float delta)
SystemSystemupdate in interface System<UUIDEntity>gc - The GameContainer calling updatedelta - The time in seconds since the last updatepublic abstract void update(UUIDEntity entity, GameContainer gc, float delta)
UUIDEntityentity - The UUIDEntity to be updatedgc - The GameContainer calling updatedelta - The time in seconds since the last updatepublic void interpolate(GameContainer gc, float alpha)
SystemSysteminterpolate in interface System<UUIDEntity>gc - The GameContainer calling interpolatealpha - The alpha value to use during interpolationpublic abstract void interpolate(UUIDEntity entity, GameContainer gc, float alpha)
UUIDEntityentity - The UUIDEntity to be interpolatedgc - The GameContainer calling interpolatealpha - The alpha value to use during interpolationpublic void render(GameContainer gc, Graphics g)
SystemSystemrender in interface System<UUIDEntity>gc - The GameContainer calling renderg - The Graphics instancepublic abstract void render(UUIDEntity entity, GameContainer gc, Graphics g)
UUIDEntity and any debugging information if debugging is
 enabledentity - The UUIDEntity to rendergc - The GameContainer calling renderg - The Graphics contextpublic boolean isDebugging()
SystemSystem is debuggingisDebugging in interface System<UUIDEntity>public void setDebugging(boolean isDebugging)
SystemSystem is in debug modesetDebugging in interface System<UUIDEntity>isDebugging - True if debuggingCopyright © 2014. All rights reserved.