C# Класс Bricklayer.Client.World.Minimap

Shows a small preview of a map
Показать файл Открыть проект

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

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

Draws the minimap

Minimap ( Map map, int maxWidth, int maxHeight ) : System

Creates a new minimap

Update ( GameTime gameTime ) : void

Updates the minimap's tile preview and player positions

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

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

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

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

Creates a new minimap
public Minimap ( Map map, int maxWidth, int maxHeight ) : System
map Map Map to base the preview off of
maxWidth int Maximum width of the minimap
maxHeight int Maximum height of the minimap
Результат System

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

Updates the minimap's tile preview and player positions
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void