C# 클래스 Touhou.Battle.Bullet

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

공개 프로퍼티들

프로퍼티 타입 설명
damage int
image Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
radius int

공개 메소드들

메소드 설명
Bullet ( Microsoft.Xna.Framework.Graphics.Texture2D image, Vector2 position, Vector2 velocity, int radius ) : System
Bullet ( Microsoft.Xna.Framework.Graphics.Texture2D image, Vector2 position, float angle, float speed, int radius ) : System
Draw ( SpriteBatch spriteBatch ) : void
Update ( float dt ) : void

메소드 상세

Bullet() 공개 메소드

public Bullet ( Microsoft.Xna.Framework.Graphics.Texture2D image, Vector2 position, Vector2 velocity, int radius ) : System
image Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
velocity Vector2
radius int
리턴 System

Bullet() 공개 메소드

public Bullet ( Microsoft.Xna.Framework.Graphics.Texture2D image, Vector2 position, float angle, float speed, int radius ) : System
image Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
angle float
speed float
radius int
리턴 System

Draw() 공개 메소드

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

Update() 공개 메소드

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

프로퍼티 상세

damage 공개적으로 프로퍼티

public int damage
리턴 int

image 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics image
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

position 공개적으로 프로퍼티

public Vector2 position
리턴 Vector2

radius 공개적으로 프로퍼티

public int radius
리턴 int