C# Класс Bricklayer.Common.World.AnimatedTile

Represents an instance of block that is able to be animated
Наследование: Tile
Показать файл Открыть проект

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

Метод Описание
AnimatedTile ( BlockType block ) : System
Draw ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 drawPosition, int x, int y, int z, bool flat = false ) : void
Update ( GameTime gameTime ) : void

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

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

public AnimatedTile ( BlockType block ) : System
block BlockType
Результат System

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

public Draw ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 drawPosition, int x, int y, int z, bool flat = false ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
texture Microsoft.Xna.Framework.Graphics.Texture2D
drawPosition Vector2
x int
y int
z int
flat bool
Результат void

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

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