C# 클래스 MrGravity.ParticleEngine.Particle

파일 보기 프로젝트 열기: DizWARE/Mr-Gravity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Randomness Vector2

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void
Particle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Random random ) : System
Particle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 velocity, float angle, float angularVelocity, Color color, float size, int ttl ) : System
Update ( ) : void

메소드 상세

Draw() 공개 메소드

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

Particle() 공개 메소드

public Particle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Random random ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
random System.Random
리턴 System

Particle() 공개 메소드

public Particle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 velocity, float angle, float angularVelocity, Color color, float size, int ttl ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
velocity Vector2
angle float
angularVelocity float
color Color
size float
ttl int
리턴 System

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

Randomness 공개적으로 프로퍼티

public Vector2 Randomness
리턴 Vector2