C# 클래스 Pokemon3D.GameModes.Monsters.Pokemon

A Pokémon instance that holds the definition and save data of a Pokémon instance.
파일 보기 프로젝트 열기: nilllzz/Pokemon3D 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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.

메소드 상세

GetMenuTexture() 공개 메소드

public GetMenuTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

Heal() 공개 메소드

public Heal ( int healHP ) : void
healHP int
리턴 void

LearnStartupMoves() 공개 메소드

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

LevelUp() 공개 메소드

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

Pokemon() 공개 메소드

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