C# Class _1942.BasePlayer

Inheritance: BaseObject
Afficher le fichier Open project: Hoobler/Projekt1

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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 méthode

public BasePlayer ( ) : System
Résultat System

Draw() public méthode

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

Fire() public méthode

public Fire ( ) : void
Résultat void

GoDown() public méthode

public GoDown ( ) : void
Résultat void

GoLeft() public méthode

public GoLeft ( ) : void
Résultat void

GoRight() public méthode

public GoRight ( ) : void
Résultat void

GoUp() public méthode

public GoUp ( ) : void
Résultat void

Update() public méthode

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

Property Details

damage protected_oe property

protected int damage
Résultat int

health protected_oe property

protected int health
Résultat int

killed protected_oe property

protected bool killed
Résultat bool

mActiveArmorTime protected_oe property

protected float mActiveArmorTime
Résultat float

mActiveDamageTime protected_oe property

protected float mActiveDamageTime
Résultat float

myScore protected_oe property

protected int myScore
Résultat int

playerID protected_oe property

protected int playerID
Résultat int

powerupDamage protected_oe property

protected bool powerupDamage
Résultat bool

powerupHealth protected_oe property

protected bool powerupHealth
Résultat bool

powerupShield protected_oe property

protected bool powerupShield
Résultat bool

projectileColor protected_oe property

protected Color projectileColor
Résultat Color

resetActiveArmorTime protected_oe property

protected float resetActiveArmorTime
Résultat float

resetActiveDamageTime protected_oe property

protected float resetActiveDamageTime
Résultat float

speedDown protected_oe property

protected float speedDown
Résultat float

speedHor protected_oe property

protected float speedHor
Résultat float

speedUp protected_oe property

protected float speedUp
Résultat float

timeUntilNextShot protected_oe property

protected float timeUntilNextShot
Résultat float