C# 클래스 _1942.BasePlayer

상속: BaseObject
파일 보기 프로젝트 열기: Hoobler/Projekt1

보호된 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
BasePlayer ( ) : System
Draw ( SpriteBatch spriteBatch ) : void
Fire ( ) : void
GoDown ( ) : void
GoLeft ( ) : void
GoRight ( ) : void
GoUp ( ) : void
Update ( KeyboardState keyState, GameTime gameTime ) : void

메소드 상세

BasePlayer() 공개 메소드

public BasePlayer ( ) : System
리턴 System

Draw() 공개 메소드

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

Fire() 공개 메소드

public Fire ( ) : void
리턴 void

GoDown() 공개 메소드

public GoDown ( ) : void
리턴 void

GoLeft() 공개 메소드

public GoLeft ( ) : void
리턴 void

GoRight() 공개 메소드

public GoRight ( ) : void
리턴 void

GoUp() 공개 메소드

public GoUp ( ) : void
리턴 void

Update() 공개 메소드

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

프로퍼티 상세

damage 보호되어 있는 프로퍼티

protected int damage
리턴 int

health 보호되어 있는 프로퍼티

protected int health
리턴 int

killed 보호되어 있는 프로퍼티

protected bool killed
리턴 bool

mActiveArmorTime 보호되어 있는 프로퍼티

protected float mActiveArmorTime
리턴 float

mActiveDamageTime 보호되어 있는 프로퍼티

protected float mActiveDamageTime
리턴 float

myScore 보호되어 있는 프로퍼티

protected int myScore
리턴 int

playerID 보호되어 있는 프로퍼티

protected int playerID
리턴 int

powerupDamage 보호되어 있는 프로퍼티

protected bool powerupDamage
리턴 bool

powerupHealth 보호되어 있는 프로퍼티

protected bool powerupHealth
리턴 bool

powerupShield 보호되어 있는 프로퍼티

protected bool powerupShield
리턴 bool

projectileColor 보호되어 있는 프로퍼티

protected Color projectileColor
리턴 Color

resetActiveArmorTime 보호되어 있는 프로퍼티

protected float resetActiveArmorTime
리턴 float

resetActiveDamageTime 보호되어 있는 프로퍼티

protected float resetActiveDamageTime
리턴 float

speedDown 보호되어 있는 프로퍼티

protected float speedDown
리턴 float

speedHor 보호되어 있는 프로퍼티

protected float speedHor
리턴 float

speedUp 보호되어 있는 프로퍼티

protected float speedUp
리턴 float

timeUntilNextShot 보호되어 있는 프로퍼티

protected float timeUntilNextShot
리턴 float