Méthode | 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 |
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Méthode | Description | |
---|---|---|
GameMode ( |
Creates an instance of the GameMode class and loads the data model.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public EnsureExecutedInMainThread ( System.Action action ) : void | ||
action | System.Action | |
Résultat | void |
public GetAbilityModel ( string id ) : AbilityModel | ||
id | string | |
Résultat | AbilityModel |
public GetItemModel ( string id ) : ItemModel | ||
id | string | |
Résultat | ItemModel |
public GetMapFilePath ( string mapId ) : string | ||
mapId | string | |
Résultat | string |
public GetMapFragmentFilePath ( string mapFragmentId ) : string | ||
mapFragmentId | string | |
Résultat | string |
public GetModel ( string filePath ) : ModelMesh[] | ||
filePath | string | |
Résultat | ModelMesh[] |
public GetMoveModel ( string id ) : MoveModel | ||
id | string | |
Résultat | MoveModel |
public GetNatureModel ( string natureId ) : NatureModel | ||
natureId | string | |
Résultat | NatureModel |
public GetPokedexModel ( string id ) : PokedexModel | ||
id | string | |
Résultat | PokedexModel |
public GetPokemonFilePath ( string pokemonId ) : string | ||
pokemonId | string | |
Résultat | string |
public GetPokemonTexturesContentPath ( ) : string | ||
Résultat | string |
public GetPrimitiveMesh ( string primitiveName ) : |
||
primitiveName | string | |
Résultat |
public GetScriptFilePath ( string scriptFileName ) : string | ||
scriptFileName | string | |
Résultat | string |
public GetTexture ( string filePath ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
filePath | string | |
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public GetTextureFromRawFolder ( string filePath ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
filePath | string | |
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public GetTypeModel ( string typeId ) : TypeModel | ||
typeId | string | |
Résultat | TypeModel |
public LoadMap ( string dataPath, bool forceReloadCached = false ) : MapModel | ||
dataPath | string | |
forceReloadCached | bool | |
Résultat | MapModel |