C# Класс TraceRacer.Particle

Показать файл Открыть проект

Открытые методы

Метод Описание
Draw ( SpriteBatch spriteBatch ) : void
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, 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