C# Class Touhou.Battle.Player

Mostrar archivo Open project: schedule-productions/Touhou Class Usage Examples

Public Properties

Property Type Description
animation Effect.AnimatedTexture
level Level
radius int

Public Methods

Method 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

Method Description
Respawn ( ) : void

Method Details

GetCenterX() public method

public GetCenterX ( ) : float
return float

GetCenterY() public method

public GetCenterY ( ) : float
return float

IsKilled() public method

public IsKilled ( ) : bool
return bool

IsResponding() public method

public IsResponding ( ) : bool
return bool

Kill() public method

public Kill ( ) : void
return void

Player() public method

public Player ( Microsoft.Xna.Framework.Game game, Level level ) : System
game Microsoft.Xna.Framework.Game
level Level
return System

SetCenterX() public method

public SetCenterX ( float posx ) : void
posx float
return void

SetCenterY() public method

public SetCenterY ( float posy ) : void
posy float
return void

SetTransparency() public method

public SetTransparency ( float alpha ) : void
alpha float
return void

Shoot() public method

public Shoot ( ) : void
return void

ToggleTransparency() public method

public ToggleTransparency ( ) : void
return void

Update() public method

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

Property Details

animation public_oe property

public Effect.AnimatedTexture animation
return Effect.AnimatedTexture

level public_oe property

public Level,Touhou.Battle level
return Level

radius public_oe property

public int radius
return int