C# 클래스 SpaceBattle.Bullet

상속: Actor
파일 보기 프로젝트 열기: luqui/space-shooter

보호된 프로퍼티들

프로퍼티 타입 설명
color Vector4
position Vector2
velocity Vector2

공개 메소드들

메소드 설명
Bullet ( Vector2 pos, Vector2 vel, Vector4 color ) : System
Die ( ) : void
Draw ( ) : void
Update ( float dt ) : void

메소드 상세

Bullet() 공개 메소드

public Bullet ( Vector2 pos, Vector2 vel, Vector4 color ) : System
pos Vector2
vel Vector2
color Vector4
리턴 System

Die() 공개 메소드

public Die ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

Update() 공개 메소드

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

프로퍼티 상세

color 보호되어 있는 프로퍼티

protected Vector4 color
리턴 Vector4

position 보호되어 있는 프로퍼티

protected Vector2 position
리턴 Vector2

velocity 보호되어 있는 프로퍼티

protected Vector2 velocity
리턴 Vector2