Class Index | File Index

Classes


Class Level


Defined in: Level.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Level()
A class to represent the level
Method Summary
Method Attributes Method Name and Description
 
Adds the blocks to the screen by creating VisualGameObjects
 
 
groundHeight(blockIndex)
 
Initialises this object
Class Detail
Level()
A class to represent the level
Author: Matthew Casperson.
Method Detail
addBlocks()
Adds the blocks to the screen by creating VisualGameObjects

currentBlock(x)
Parameters:
x
The x position to test
Returns:
The block under the specified x position

groundHeight(blockIndex)
Parameters:
blockIndex
The block number
Returns:
The hieght of the ground under the specified block

startupLevel()
Initialises this object

Documentation generated by JsDoc Toolkit 2.3.0 on Mon Jun 29 2009 11:02:22 GMT+1000 (EST)