C# 클래스 MyPolarBear.GameObjects.PolarBear

상속: System.Entity
파일 보기 프로젝트 열기: sgdc/sgdc-old 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CurHitPoints int
IsAlive bool
MaxHitPoints int
NumSeeds int
NumWater int
bMoving bool
bPathfinding bool
power Power

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void
HitLanded ( Projectile attack, ITargetable hit ) : void
LoadContent ( ) : void
PolarBear ( Vector2 position ) : System
ShootProjectile ( Vector2 direction ) : Projectile
SwitchPowers ( ) : void
TakeDamage ( int amount, System.Entity source ) : void
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
giveAttackCommand ( String targetType ) : void

메소드 상세

Draw() 공개 메소드

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

HitLanded() 공개 메소드

public HitLanded ( Projectile attack, ITargetable hit ) : void
attack Projectile
hit ITargetable
리턴 void

LoadContent() 공개 메소드

public LoadContent ( ) : void
리턴 void

PolarBear() 공개 메소드

public PolarBear ( Vector2 position ) : System
position Vector2
리턴 System

ShootProjectile() 공개 메소드

public ShootProjectile ( Vector2 direction ) : Projectile
direction Vector2
리턴 Projectile

SwitchPowers() 공개 메소드

public SwitchPowers ( ) : void
리턴 void

TakeDamage() 공개 정적인 메소드

public static TakeDamage ( int amount, System.Entity source ) : void
amount int
source System.Entity
리턴 void

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

CurHitPoints 공개적으로 정적으로 프로퍼티

public static int CurHitPoints
리턴 int

IsAlive 공개적으로 프로퍼티

public bool IsAlive
리턴 bool

MaxHitPoints 공개적으로 정적으로 프로퍼티

public static int MaxHitPoints
리턴 int

NumSeeds 공개적으로 정적으로 프로퍼티

public static int NumSeeds
리턴 int

NumWater 공개적으로 정적으로 프로퍼티

public static int NumWater
리턴 int

bMoving 공개적으로 프로퍼티

public bool bMoving
리턴 bool

bPathfinding 공개적으로 프로퍼티

public bool bPathfinding
리턴 bool

power 공개적으로 정적으로 프로퍼티

public static Power power
리턴 Power