C# Класс Mappy_Map2D.Map2D

Represents a map from the Mappy Tool.
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
animations List
blocks List

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

Метод Описание
Draw ( GameTime gameTime, SpriteBatch spriteBatch, Vector2 worldPosition, Color color ) : void

Map2D ( ) : System
Map2D ( GraphicsDevice graphicsDevice, short mapWidth, short mapHeight, short tileWidth, short tileHeight, int amountOfTileGraphics ) : System

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

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

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

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

public Map2D ( ) : System
Результат System

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

public Map2D ( GraphicsDevice graphicsDevice, short mapWidth, short mapHeight, short tileWidth, short tileHeight, int amountOfTileGraphics ) : System
graphicsDevice GraphicsDevice
mapWidth short
mapHeight short
tileWidth short
tileHeight short
amountOfTileGraphics int
Результат System

Описание свойств

animations защищенное свойство

protected List animations
Результат List

blocks защищенное свойство

Informations of the blocks; User 1, User 2, User 3, ... User7
protected List blocks
Результат List