C# Class _1942.BasePlayer

Inheritance: BaseObject
Datei anzeigen Open project: Hoobler/Projekt1

Protected Properties

Property Type Description
damage int
health int
killed bool
mActiveArmorTime float
mActiveDamageTime float
myScore int
playerID int
powerupDamage bool
powerupHealth bool
powerupShield bool
projectileColor Color
resetActiveArmorTime float
resetActiveDamageTime float
speedDown float
speedHor float
speedUp float
timeUntilNextShot float

Public Methods

Method Description
BasePlayer ( ) : System
Draw ( SpriteBatch spriteBatch ) : void
Fire ( ) : void
GoDown ( ) : void
GoLeft ( ) : void
GoRight ( ) : void
GoUp ( ) : void
Update ( KeyboardState keyState, GameTime gameTime ) : void

Method Details

BasePlayer() public method

public BasePlayer ( ) : System
return System

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Fire() public method

public Fire ( ) : void
return void

GoDown() public method

public GoDown ( ) : void
return void

GoLeft() public method

public GoLeft ( ) : void
return void

GoRight() public method

public GoRight ( ) : void
return void

GoUp() public method

public GoUp ( ) : void
return void

Update() public method

public Update ( KeyboardState keyState, GameTime gameTime ) : void
keyState Microsoft.Xna.Framework.Input.KeyboardState
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

damage protected_oe property

protected int damage
return int

health protected_oe property

protected int health
return int

killed protected_oe property

protected bool killed
return bool

mActiveArmorTime protected_oe property

protected float mActiveArmorTime
return float

mActiveDamageTime protected_oe property

protected float mActiveDamageTime
return float

myScore protected_oe property

protected int myScore
return int

playerID protected_oe property

protected int playerID
return int

powerupDamage protected_oe property

protected bool powerupDamage
return bool

powerupHealth protected_oe property

protected bool powerupHealth
return bool

powerupShield protected_oe property

protected bool powerupShield
return bool

projectileColor protected_oe property

protected Color projectileColor
return Color

resetActiveArmorTime protected_oe property

protected float resetActiveArmorTime
return float

resetActiveDamageTime protected_oe property

protected float resetActiveDamageTime
return float

speedDown protected_oe property

protected float speedDown
return float

speedHor protected_oe property

protected float speedHor
return float

speedUp protected_oe property

protected float speedUp
return float

timeUntilNextShot protected_oe property

protected float timeUntilNextShot
return float