C# Class Pokemon3D.GameModes.Monsters.Pokemon

A Pokémon instance that holds the definition and save data of a Pokémon instance.
Afficher le fichier Open project: nilllzz/Pokemon3D Class Usage Examples

Méthodes publiques

Méthode Description
GetMenuTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
Heal ( int healHP ) : void
LearnStartupMoves ( ) : void

Makes the Pokémon learn all moves that are learnt on Level 1.

LevelUp ( bool learnRandomMove, int levels = 1 ) : void

Does level up progress for this Pokémon.

Pokemon ( GameMode gameMode, PokemonModel dataModel, PokemonSaveModel saveModel ) : System.Linq

Private Methods

Méthode Description
GetActiveFormId ( ) : string
GetMenuTexture ( string pokemonId, string formId, string textureSource ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetMovePoolModel ( PokemonFormModel formModel ) : PokemonFormModel

Returns the model that is responsible for the move pools for a form model.

LearnMove ( int level ) : bool

Attempts to teach this Pokémon a level up move from a specific level. It makes the Pokémon forget a random move if the Pokémon has a full moveset.

Method Details

GetMenuTexture() public méthode

public GetMenuTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

Heal() public méthode

public Heal ( int healHP ) : void
healHP int
Résultat void

LearnStartupMoves() public méthode

Makes the Pokémon learn all moves that are learnt on Level 1.
public LearnStartupMoves ( ) : void
Résultat void

LevelUp() public méthode

Does level up progress for this Pokémon.
public LevelUp ( bool learnRandomMove, int levels = 1 ) : void
learnRandomMove bool
levels int
Résultat void

Pokemon() public méthode

public Pokemon ( GameMode gameMode, PokemonModel dataModel, PokemonSaveModel saveModel ) : System.Linq
gameMode GameMode
dataModel PokemonModel
saveModel PokemonSaveModel
Résultat System.Linq