Свойство | Тип | Описание | |
---|---|---|---|
floorheight | int | ||
hallheight | int | ||
shortheight | int | ||
tallheight | int | ||
tileDimension | int |
Метод | Описание | |
---|---|---|
CalculateRay ( Vector2 mouseLocation, Matrix view, Matrix projection, |
Calculates the ray formed from the mouse to the world space.
|
|
Draw ( |
||
GetNearestVolunteerCenter ( |
Gets the nearest volunteer center with respect to a specific tile.
|
|
GetNearestVolunteerCenter ( Vector2 coord ) : MSVolunteerCenter | ||
GetPath ( Vector2 start, Vector2 end ) : |
Gets the head of the linked-list representing the shortest path from start to end in the map coordinate system.
|
|
GetRandomCitizenSource ( ) : |
||
Intersects ( Microsoft.Xna.Framework.BoundingBox box, Vector2 mouseLocation, Matrix view, Matrix projection, |
Checks whether the mouse intersects the bounding box of an object.
|
|
MSMap ( String filename ) : System | ||
PickFrom3DWorld ( ) : |
Picking Algo. Looks for the closest object that intersects the mouse ray
|
|
Update ( |
||
load ( |
||
toString ( ) : String |
public CalculateRay ( Vector2 mouseLocation, Matrix view, Matrix projection, |
||
mouseLocation | Vector2 | Vector2D corresponding to the coordinate of the mouse on the screen. |
view | Matrix | View matrix used |
projection | Matrix | Projection matrix used |
viewport | Viewport of the game | |
Результат | Microsoft.Xna.Framework.Ray |
public Draw ( |
||
gameTime | ||
Результат | void |
public GetNearestVolunteerCenter ( |
||
reference | Tile used as a reference point to find the nearest volunteer center | |
Результат | MSVolunteerCenter |
public GetNearestVolunteerCenter ( Vector2 coord ) : MSVolunteerCenter | ||
coord | Vector2 | |
Результат | MSVolunteerCenter |
public GetPath ( Vector2 start, Vector2 end ) : |
||
start | Vector2 | The start tile coordinate. |
end | Vector2 | The end tile coordinate. |
Результат |
public GetRandomCitizenSource ( ) : |
||
Результат |
public Intersects ( Microsoft.Xna.Framework.BoundingBox box, Vector2 mouseLocation, Matrix view, Matrix projection, |
||
box | Microsoft.Xna.Framework.BoundingBox | Bounding box of the object to check for intersection. |
mouseLocation | Vector2 | Vector2D corresponding to the coordinate of the mouse on the screen. |
view | Matrix | View matrix used |
projection | Matrix | Projection matrix used |
viewport | Viewport of the game | |
Результат | float? |
public Update ( |
||
gameTime | ||
Результат | void |
public load ( |
||
sr | ||
Результат | void |