Class UNIVERSE.GraphicsObject

Class Summary
Constructor Attributes Constructor Name and Description
 
UNIVERSE.GraphicsObject(id, updateFunction, drawFunction, modelName, currentLocation)
A graphics object to be drawn in the Universe
Class Detail
UNIVERSE.GraphicsObject(id, updateFunction, drawFunction, modelName, currentLocation)
A graphics object to be drawn in the Universe
Parameters:
{string} id
- Identifier for the object to be referenced later
{function} updateFunction
- A function(elapsedTime) that gets called each time the Universe time changes
{function} drawFunction
- A function that should call Universe.draw with the object's model
{string} modelName
- A name for the object if different than id. Set to the id if not defined
{Object} currentLocation

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 16 2013 21:54:24 GMT-0700 (MST)