C# 클래스 MiningGame.Code.Entities.Particle

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

공개 프로퍼티들

프로퍼티 타입 설명
active bool
degrees double
lifetime int
speed float

공개 메소드들

메소드 설명
Draw ( SpriteBatch sb ) : void
Particle ( Vector2 position, double degrees, string assetname, float speed, float scale = 1f, int lifetime = 100, bool active = true, byte alpha = 255 ) : System
Update ( GameTime time, bool serverContext = false ) : void

메소드 상세

Draw() 공개 메소드

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

Particle() 공개 메소드

public Particle ( Vector2 position, double degrees, string assetname, float speed, float scale = 1f, int lifetime = 100, bool active = true, byte alpha = 255 ) : System
position Vector2
degrees double
assetname string
speed float
scale float
lifetime int
active bool
alpha byte
리턴 System

Update() 공개 메소드

public Update ( GameTime time, bool serverContext = false ) : void
time Microsoft.Xna.Framework.GameTime
serverContext bool
리턴 void

프로퍼티 상세

active 공개적으로 프로퍼티

public bool active
리턴 bool

degrees 공개적으로 프로퍼티

public double degrees
리턴 double

lifetime 공개적으로 프로퍼티

public int lifetime
리턴 int

speed 공개적으로 프로퍼티

public float speed
리턴 float