Property | Type | Description | |
---|---|---|---|
AreaIndependentEntities | List |
||
Ute | Entity |
Method | Description | |
---|---|---|
AddArea ( string name, |
||
Clear ( ) : void | ||
Draw ( |
||
GetCurrentAreas ( ) : List | ||
GetEntitiesAt ( |
||
GetEntitiesAt ( Vector2 position ) : List |
||
GetEntitiesAt ( Vector2 position, int radius ) : List |
||
IsPositionAccessible ( Vector2 position ) : bool |
Queries the Tile Map whether a given pixel position is accessible. Entities are not considered in the collision check. This is done via GetEntitiesAt in the CollisionManager.
|
|
IsRectAccessible ( |
||
Level ( ) : System | ||
RemoveArea ( string name ) : bool |
Method | Description | |
---|---|---|
Update ( |
public AddArea ( string name, |
||
name | string | |
area | ||
return | bool |
public Draw ( |
||
gameTime | ||
return | void |
public GetEntitiesAt ( |
||
rect | ||
return | HashSet |
public GetEntitiesAt ( Vector2 position ) : List |
||
position | Vector2 | |
return | List |
public GetEntitiesAt ( Vector2 position, int radius ) : List |
||
position | Vector2 | |
radius | int | |
return | List |
public IsPositionAccessible ( Vector2 position ) : bool | ||
position | Vector2 | Pixel position to check. |
return | bool |
public IsRectAccessible ( |
||
rect | ||
return | bool |