C# Class Bricklayer.Common.World.AnimatedTile

Represents an instance of block that is able to be animated
Inheritance: Tile
Afficher le fichier Open project: Cyral/Bricklayer

Méthodes publiques

Méthode Description
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

Method Details

AnimatedTile() public méthode

public AnimatedTile ( BlockType block ) : System
block BlockType
Résultat System

Draw() public méthode

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
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void