C# 클래스 LDEngine.ParticleController

파일 보기 프로젝트 열기: GarethIW/LDEngine

공개 프로퍼티들

프로퍼티 타입 설명
Particles LDEngine.Particle[]
Rand System.Random
_texParticles Microsoft.Xna.Framework.Graphics.Texture2D

공개 메소드들

메소드 설명
Add ( Vector2 spawnPos, Vector2 velocity, double attackTime, double lifeTime, double decayTime, bool affectedbygravity, bool canCollide, Rectangle sourcerect, Color col, Action particleFunc, float startScale, float startRot, int depth, ParticleBlend blend ) : void
Draw ( SpriteBatch sb ) : void
Draw ( SpriteBatch sb, Camera gameCamera, int depth ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
ParticleController ( ) : System
Update ( GameTime gameTime, Map gameMap ) : void

비공개 메소드들

메소드 설명
Reset ( ) : void

메소드 상세

Add() 공개 메소드

public Add ( Vector2 spawnPos, Vector2 velocity, double attackTime, double lifeTime, double decayTime, bool affectedbygravity, bool canCollide, Rectangle sourcerect, Color col, Action particleFunc, float startScale, float startRot, int depth, ParticleBlend blend ) : void
spawnPos Vector2
velocity Vector2
attackTime double
lifeTime double
decayTime double
affectedbygravity bool
canCollide bool
sourcerect Microsoft.Xna.Framework.Rectangle
col Color
particleFunc Action
startScale float
startRot float
depth int
blend ParticleBlend
리턴 void

Draw() 공개 메소드

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

Draw() 공개 메소드

public Draw ( SpriteBatch sb, Camera gameCamera, int depth ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
gameCamera TiledLib.Camera
depth int
리턴 void

LoadContent() 공개 메소드

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
리턴 void

ParticleController() 공개 메소드

public ParticleController ( ) : System
리턴 System

Update() 공개 메소드

public Update ( GameTime gameTime, Map gameMap ) : void
gameTime Microsoft.Xna.Framework.GameTime
gameMap TiledLib.Map
리턴 void

프로퍼티 상세

Particles 공개적으로 프로퍼티

public Particle[],LDEngine Particles
리턴 LDEngine.Particle[]

Rand 공개적으로 프로퍼티

public Random,System Rand
리턴 System.Random

_texParticles 공개적으로 프로퍼티

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