C# Класс AngryTanks.Client.AnimatedSprite

Наследование: AngryTanks.Client.StaticSprite
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AnimatedSprite ( AngryTanks.Client.World world, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 size, System.Single rotation, Color color, Point maxFrames, Point frameSize, SpriteSheetDirection direction, bool loop ) : System
AnimatedSprite ( AngryTanks.Client.World world, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 size, System.Single rotation, Point maxFrames, Point frameSize, SpriteSheetDirection direction, bool loop ) : System
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
Update ( GameTime gameTime ) : void

Описание методов

AnimatedSprite() публичный Метод

public AnimatedSprite ( AngryTanks.Client.World world, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 size, System.Single rotation, Color color, Point maxFrames, Point frameSize, SpriteSheetDirection direction, bool loop ) : System
world AngryTanks.Client.World
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
size Vector2
rotation System.Single
color Color
maxFrames Point
frameSize Point
direction SpriteSheetDirection
loop bool
Результат System

AnimatedSprite() публичный Метод

public AnimatedSprite ( AngryTanks.Client.World world, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 size, System.Single rotation, Point maxFrames, Point frameSize, SpriteSheetDirection direction, bool loop ) : System
world AngryTanks.Client.World
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
size Vector2
rotation System.Single
maxFrames Point
frameSize Point
direction SpriteSheetDirection
loop bool
Результат System

Draw() публичный Метод

public Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Результат void

Update() публичный Метод

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void