Property | Type | Description | |
---|---|---|---|
player |
Method | Description | |
---|---|---|
IsColliding ( |
Collision detection between world and player.
|
|
WorldObject ( Microsoft.Xna.Framework.Game g, |
||
addLine ( int height ) : void |
Adds a specific line to the end of the world.
|
|
addLine ( int pos, int height ) : void |
Adds a specific line to the specified position of the world.
|
|
createGates ( ) : void | ||
fillBegin ( int pos, int height ) : void | ||
getClosestGate ( |
Gets the closest gate that intersects with the player.
|
|
getGates ( ) : List |
||
getLine ( int lineNum ) : |
Gets a specific line from the world.
|
|
getLineQueue ( ) : List |
||
getPlayer ( ) : |
||
getPositionDifference ( ) : int | ||
removeLine ( int pos ) : void | ||
updateGates ( ) : void |
Method | Description | |
---|---|---|
IsTouching ( |
Checks if player touches the top of the world.
|
public IsColliding ( |
||
playerObject | ||
return | bool |
public WorldObject ( Microsoft.Xna.Framework.Game g, |
||
g | Microsoft.Xna.Framework.Game | |
sb | ||
return | System |
public addLine ( int pos, int height ) : void | ||
pos | int | |
height | int | |
return | void |
public fillBegin ( int pos, int height ) : void | ||
pos | int | |
height | int | |
return | void |
public getClosestGate ( |
||
player | ||
return |