Method | Description | |
---|---|---|
Dispose ( ) : void |
Frees all resources consumed by this GameMode.
|
|
EnsureExecutedInMainThread ( System.Action action ) : void | ||
GetAbilityModel ( string id ) : AbilityModel | ||
GetItemModel ( string id ) : ItemModel | ||
GetMapFilePath ( string mapId ) : string |
Returns the path to a map file, relative to the GameMode's root folder.
|
|
GetMapFragmentFilePath ( string mapFragmentId ) : string |
Returns the path to a map fragment file, relative to the GameMode's root folder.
|
|
GetModel ( string filePath ) : ModelMesh[] | ||
GetMoveModel ( string id ) : MoveModel | ||
GetNatureModel ( string natureId ) : NatureModel | ||
GetNatures ( ) : NatureModel[] | ||
GetPokedexModel ( string id ) : PokedexModel | ||
GetPokemonFilePath ( string pokemonId ) : string |
Returns the absolute path to a pokemon data file.
|
|
GetPokemonTexturesContentPath ( ) : string | ||
GetPrimitiveMesh ( string primitiveName ) : |
||
GetScriptFilePath ( string scriptFileName ) : string |
Returns the path to a script file, relative to the GameMode's root folder.
|
|
GetTexture ( string filePath ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
GetTextureFromRawFolder ( string filePath ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
GetTypeModel ( string typeId ) : TypeModel | ||
LoadMap ( string dataPath, bool forceReloadCached = false ) : MapModel | ||
Preload ( ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
GameMode ( |
Creates an instance of the GameMode class and loads the data model.
|
public EnsureExecutedInMainThread ( System.Action action ) : void | ||
action | System.Action | |
return | void |
public GetAbilityModel ( string id ) : AbilityModel | ||
id | string | |
return | AbilityModel |
public GetItemModel ( string id ) : ItemModel | ||
id | string | |
return | ItemModel |
public GetMapFilePath ( string mapId ) : string | ||
mapId | string | |
return | string |
public GetMapFragmentFilePath ( string mapFragmentId ) : string | ||
mapFragmentId | string | |
return | string |
public GetModel ( string filePath ) : ModelMesh[] | ||
filePath | string | |
return | ModelMesh[] |
public GetMoveModel ( string id ) : MoveModel | ||
id | string | |
return | MoveModel |
public GetNatureModel ( string natureId ) : NatureModel | ||
natureId | string | |
return | NatureModel |
public GetPokedexModel ( string id ) : PokedexModel | ||
id | string | |
return | PokedexModel |
public GetPokemonFilePath ( string pokemonId ) : string | ||
pokemonId | string | |
return | string |
public GetPokemonTexturesContentPath ( ) : string | ||
return | string |
public GetPrimitiveMesh ( string primitiveName ) : |
||
primitiveName | string | |
return |
public GetScriptFilePath ( string scriptFileName ) : string | ||
scriptFileName | string | |
return | string |
public GetTexture ( string filePath ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
filePath | string | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public GetTextureFromRawFolder ( string filePath ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
filePath | string | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public GetTypeModel ( string typeId ) : TypeModel | ||
typeId | string | |
return | TypeModel |
public LoadMap ( string dataPath, bool forceReloadCached = false ) : MapModel | ||
dataPath | string | |
forceReloadCached | bool | |
return | MapModel |