Property | Type | Description | |
---|---|---|---|
NPEs | List |
||
game | Microsoft.Xna.Framework.Game | ||
scriptLock | object | ||
tmxMap |
Method | Description | |
---|---|---|
ChangeMap ( Directions direction ) : bool |
Changes the map by loading the correct map file for the specified direction.
|
|
GetNPEAt ( int x, int y ) : |
Returns the NPE at the specified location
|
|
GetRandomEncounter ( ) : |
||
IsCollisionAt ( int x, int y ) : bool |
Tests to see if there is a collision at the specified coordinates.
|
|
LoadMap ( string filename ) : void |
Loads a map from a file.
|
|
ReloadMap ( ) : void |
Reloads the current map.
|
|
ScriptableMap ( Microsoft.Xna.Framework.Game game ) : System |
Method | Description | |
---|---|---|
createItemArray ( |
||
js_addNPE ( |
||
js_addRandomEncounter ( |
||
js_battle ( |
||
js_dialogue ( string text ) : void | ||
js_getFlag ( string flag ) : bool | ||
js_newEnemy ( string textureName, string enemyName, double health, double attack, double defense, double speed, double exp, |
||
js_newItem ( string itemName, string description, double healthBonus, double manaBonus, double cost ) : Item | ||
js_newNPE ( ) : |
||
js_overworldMusic ( string song ) : void | ||
js_randomBattleMusic ( string song ) : void | ||
js_save ( |
||
js_setBattleTexture ( string textureName ) : void | ||
js_setEastMapfile ( string filename ) : void | ||
js_setFlag ( string flag ) : void | ||
js_setMapName ( string name ) : void | ||
js_setNorthMapfile ( string filename ) : void | ||
js_setSouthMapfile ( string filename ) : void | ||
js_setTmxMapfile ( string filename ) : void | ||
js_setWestMapfile ( string filename ) : void | ||
js_store ( |
||
js_win ( ) : void | ||
loadMapAndScript ( string filename ) : void | ||
parseScriptFile ( string filename ) : void |
public ChangeMap ( Directions direction ) : bool | ||
direction | Directions | The direction to use |
return | bool |
public LoadMap ( string filename ) : void | ||
filename | string | The filename |
return | void |
public ScriptableMap ( Microsoft.Xna.Framework.Game game ) : System | ||
game | Microsoft.Xna.Framework.Game | |
return | System |
protected Game,Microsoft.Xna.Framework game | ||
return | Microsoft.Xna.Framework.Game |