Свойство | Тип | Описание | |
---|---|---|---|
BOTTOM_LIMIT | int | ||
ExitTile | |||
elements | List |
||
heightInLevel | int | ||
map | |||
maze | Maze | ||
roomIndex | int | ||
roomName | string | ||
roomStart | bool | ||
roomType | int | ||
roomX | int | ||
roomY | int | ||
roomZ | int | ||
tilesTemporaney | |||
widthInLevel | int |
Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Unloads the level content.
|
|
Draw ( |
Draw everything in the level from background to foreground.
|
|
DrawMask ( |
Draw everything in the level from background to foreground.
|
|
DrawSprites ( |
||
GetBounds ( int x, int y ) : |
Gets the bounding rectangle of a Tile in world space.
|
|
GetCollision ( int x, int y ) : Enumeration.TileCollision |
Gets the collision mode of the Tile at a particular location. This method handles tiles outside of the levels boundries by making it impossible to escape past the left or right edges, but allowing things to jump beyond the top of the level and fall off the bottom.
|
|
GetExit ( int x, int y ) : |
||
GetTile ( Vector2 playerPosition ) : |
||
GetTile ( int x, int y ) : |
||
GetTiles ( Enumeration tileType ) : List |
||
GetType ( int x, int y ) : Enumeration.TileType | ||
LooseShake ( ) : void | ||
RoomNew ( Maze maze, string filePath, int roomIndex, int roomType ) : System | ||
SpritesInRoom ( ) : List |
||
StartNewLife ( GraphicsDevice graphicsDevice ) : void |
Restores the player to the starting point to try the level again.
|
|
SubsTile ( Vector2 coordinate, Enumeration tileType ) : void | ||
SubsTileState ( Vector2 position, Enumeration state ) : void | ||
Update ( |
||
getBoundTiles ( |
||
getCenterTile ( |
Метод | Описание | |
---|---|---|
DrawTilesBlocks ( |
||
DrawTilesBlocks2 ( |
||
DrawTilesDown ( |
||
DrawTilesInverseNew ( |
||
DrawTilesLeft ( |
||
DrawTilesMask ( |
||
DrawTilesUp ( |
||
LoadTile ( Enumeration tiletype ) : |
Creates a new Tile. The other Tile loading methods typically chain to this method after performing their special logic.
|
|
LoadTile ( Enumeration tiletype, Enumeration state, int switchButton, Enumeration item, Enumeration nextTileType, float timeOpen ) : |
||
LoadTiles ( ) : void | ||
UpdateItems ( |
||
UpdateSprites ( |
||
UpdateTiles ( |
||
UpdateTilesLeft ( |
||
UpdateTilesTemporaney ( |
||
UpdateTilesUp ( |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
Результат | void |
public DrawMask ( |
||
gameTime | ||
spriteBatch | ||
Результат | void |
public DrawSprites ( |
||
gameTime | ||
spriteBatch | ||
Результат | void |
public GetBounds ( int x, int y ) : |
||
x | int | |
y | int | |
Результат |
public GetCollision ( int x, int y ) : Enumeration.TileCollision | ||
x | int | |
y | int | |
Результат | Enumeration.TileCollision |
public GetTile ( Vector2 playerPosition ) : |
||
playerPosition | Vector2 | |
Результат |
public GetTiles ( Enumeration tileType ) : List |
||
tileType | Enumeration | |
Результат | List |
public GetType ( int x, int y ) : Enumeration.TileType | ||
x | int | |
y | int | |
Результат | Enumeration.TileType |
public RoomNew ( Maze maze, string filePath, int roomIndex, int roomType ) : System | ||
maze | Maze | |
filePath | string | |
roomIndex | int | |
roomType | int | |
Результат | System |
public StartNewLife ( GraphicsDevice graphicsDevice ) : void | ||
graphicsDevice | GraphicsDevice | |
Результат | void |
public SubsTile ( Vector2 coordinate, Enumeration tileType ) : void | ||
coordinate | Vector2 | |
tileType | Enumeration | |
Результат | void |
public SubsTileState ( Vector2 position, Enumeration state ) : void | ||
position | Vector2 | |
state | Enumeration | |
Результат | void |
public Update ( |
||
gameTime | ||
keyboardState | ||
gamePadState | ||
touchState | TouchCollection | |
accelState | AccelerometerState | |
orientation | DisplayOrientation | |
Результат | void |
public getBoundTiles ( |
||
playerBounds | ||
Результат | Vector4 |
public getCenterTile ( |
||
playerBounds | ||
Результат | Vector2 |
public ArrayList,System.Collections tilesTemporaney | ||
Результат |