Свойство | Тип | Описание | |
---|---|---|---|
StartTime | System.DateTime | ||
bingMapsViewer | |||
currentLocation | GeoCoordinate | ||
currentState | GeoPositionStatus | ||
display_victory | bool | ||
finger | |||
fingerPosition | Vector2 | ||
font | |||
gameStartTime | double | ||
graphics | GraphicsDeviceManager | ||
locationToFocusOn | String | ||
money_text | double | ||
numSpawners | int | ||
paused | bool | ||
score | int | ||
screen | |||
screens | |||
selected | Selected | ||
sfx | |||
spriteBatch | |||
startingCoordinate | GeoCoordinate | ||
startingCoordinateXY | Vector2 | ||
time | int | ||
total_lives | int | ||
watcher | GeoCoordinateWatcher |
Метод | Описание | |
---|---|---|
AddScore ( int newscore ) : void |
Add a score value to the list and sort the list.
|
|
FocusOnLocationAsync ( string locationToFocusOn ) : void |
TODO
|
|
Game1 ( ) : System | ||
GotSearchResult ( object sender, |
TODO
|
|
LoadLinesFromFile ( string fileName ) : LinkedList |
Get a list of strings from a file, corresponding to each line.
|
|
LoadScores ( ) : List |
Read scores from a file.
|
|
LocationSelected ( IAsyncResult result ) : void |
TODO
|
|
SaveScores ( List |
Write scores to a file.
|
|
geoWatcher_Position ( object sender, GeoPositionChangedEventArgs |
TODO
|
|
geoWatcher_StatusChanged ( object sender, GeoPositionStatusChangedEventArgs e ) : void |
TODO
|
|
touch ( ) : void |
Process touch events.
|
Метод | Описание | |
---|---|---|
Draw ( |
This is called when the game should draw itself.
|
|
Initialize ( ) : void |
Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.
|
|
LoadContent ( ) : void |
LoadContent will be called once per game and is the place to load all of your content.
|
|
OnExiting ( object sender, |
Exit handler.
|
|
UnloadContent ( ) : void |
UnloadContent will be called once per game and is the place to unload all content.
|
|
Update ( |
Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
|
Метод | Описание | |
---|---|---|
ReceivedLocationCoordinates ( object sender, |
Event handler called when location coordinates are received.
|
public AddScore ( int newscore ) : void | ||
newscore | int | The new score value. |
Результат | void |
protected Draw ( |
||
gameTime | Provides a snapshot of timing values. | |
Результат | void |
public FocusOnLocationAsync ( string locationToFocusOn ) : void | ||
locationToFocusOn | string | |
Результат | void |
public GotSearchResult ( object sender, |
||
sender | object | |
e | ||
Результат | void |
public LoadLinesFromFile ( string fileName ) : LinkedList |
||
fileName | string | The filename to be read. |
Результат | LinkedList |
public LocationSelected ( IAsyncResult result ) : void | ||
result | IAsyncResult | |
Результат | void |
protected OnExiting ( object sender, |
||
sender | object | |
args | ||
Результат | void |
public SaveScores ( List |
||
scores | List |
A list of scores. |
Результат | void |
protected Update ( |
||
gameTime | Provides a snapshot of timing values. | |
Результат | void |
public geoWatcher_Position ( object sender, GeoPositionChangedEventArgs |
||
sender | object | |
e | GeoPositionChangedEventArgs |
|
Результат | void |
public geoWatcher_StatusChanged ( object sender, GeoPositionStatusChangedEventArgs e ) : void | ||
sender | object | |
e | GeoPositionStatusChangedEventArgs | |
Результат | void |
public BingMapsViewer,GPSTD_RM bingMapsViewer | ||
Результат |
public Rectangle,Microsoft.Xna.Framework finger | ||
Результат |
public SpriteFont,Microsoft.Xna.Framework.Graphics font | ||
Результат |
public SpriteBatch,Microsoft.Xna.Framework.Graphics spriteBatch | ||
Результат |
public GeoCoordinate startingCoordinate | ||
Результат | GeoCoordinate |