C# 클래스 Touhou.Battle.Enemy

파일 보기 프로젝트 열기: schedule-productions/Touhou 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
animation Effect.AnimatedTexture
destroyed System.Boolean
game Microsoft.Xna.Framework.Game
health int
level Level
position Vector2
radius int
velocity Vector2

공개 메소드들

메소드 설명
Damage ( Bullet bullet ) : void
Destroy ( ) : void
Enemy ( Microsoft.Xna.Framework.Game game, Level level, int x, int radius, int speedX, int speedY, int health ) : System
GetCenter ( ) : Vector2
GetCenterX ( ) : float
GetCenterY ( ) : float
Update ( float dt ) : void

메소드 상세

Damage() 공개 메소드

public Damage ( Bullet bullet ) : void
bullet Bullet
리턴 void

Destroy() 공개 메소드

public Destroy ( ) : void
리턴 void

Enemy() 공개 메소드

public Enemy ( Microsoft.Xna.Framework.Game game, Level level, int x, int radius, int speedX, int speedY, int health ) : System
game Microsoft.Xna.Framework.Game
level Level
x int
radius int
speedX int
speedY int
health int
리턴 System

GetCenter() 공개 메소드

public GetCenter ( ) : Vector2
리턴 Vector2

GetCenterX() 공개 메소드

public GetCenterX ( ) : float
리턴 float

GetCenterY() 공개 메소드

public GetCenterY ( ) : float
리턴 float

Update() 공개 메소드

public Update ( float dt ) : void
dt float
리턴 void

프로퍼티 상세

animation 공개적으로 프로퍼티

public Effect.AnimatedTexture animation
리턴 Effect.AnimatedTexture

destroyed 공개적으로 프로퍼티

public Boolean,System destroyed
리턴 System.Boolean

game 공개적으로 프로퍼티

public Game,Microsoft.Xna.Framework game
리턴 Microsoft.Xna.Framework.Game

health 공개적으로 프로퍼티

public int health
리턴 int

level 공개적으로 프로퍼티

public Level,Touhou.Battle level
리턴 Level

position 공개적으로 프로퍼티

public Vector2 position
리턴 Vector2

radius 공개적으로 프로퍼티

public int radius
리턴 int

velocity 공개적으로 프로퍼티

public Vector2 velocity
리턴 Vector2