C# Class Touhou.Battle.Player

Afficher le fichier Open project: schedule-productions/Touhou Class Usage Examples

Méthodes publiques

Свойство Type Description
animation Effect.AnimatedTexture
level Level
radius int

Méthodes publiques

Méthode Description
GetCenterX ( ) : float
GetCenterY ( ) : float
IsKilled ( ) : bool
IsResponding ( ) : bool
Kill ( ) : void
Player ( Microsoft.Xna.Framework.Game game, Level level ) : System
SetCenterX ( float posx ) : void
SetCenterY ( float posy ) : void
SetTransparency ( float alpha ) : void
Shoot ( ) : void
ToggleTransparency ( ) : void
Update ( float dt, KeyboardState keystate ) : void

Private Methods

Méthode Description
Respawn ( ) : void

Method Details

GetCenterX() public méthode

public GetCenterX ( ) : float
Résultat float

GetCenterY() public méthode

public GetCenterY ( ) : float
Résultat float

IsKilled() public méthode

public IsKilled ( ) : bool
Résultat bool

IsResponding() public méthode

public IsResponding ( ) : bool
Résultat bool

Kill() public méthode

public Kill ( ) : void
Résultat void

Player() public méthode

public Player ( Microsoft.Xna.Framework.Game game, Level level ) : System
game Microsoft.Xna.Framework.Game
level Level
Résultat System

SetCenterX() public méthode

public SetCenterX ( float posx ) : void
posx float
Résultat void

SetCenterY() public méthode

public SetCenterY ( float posy ) : void
posy float
Résultat void

SetTransparency() public méthode

public SetTransparency ( float alpha ) : void
alpha float
Résultat void

Shoot() public méthode

public Shoot ( ) : void
Résultat void

ToggleTransparency() public méthode

public ToggleTransparency ( ) : void
Résultat void

Update() public méthode

public Update ( float dt, KeyboardState keystate ) : void
dt float
keystate Microsoft.Xna.Framework.Input.KeyboardState
Résultat void

Property Details

animation public_oe property

public Effect.AnimatedTexture animation
Résultat Effect.AnimatedTexture

level public_oe property

public Level,Touhou.Battle level
Résultat Level

radius public_oe property

public int radius
Résultat int