C# Class Bricklayer.Client.World.Minimap

Shows a small preview of a map
Afficher le fichier Open project: Cyral/Bricklayer

Méthodes publiques

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

Method Details

Draw() public méthode

Draws the minimap
public Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Minimap() public méthode

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

Update() public méthode

Updates the minimap's tile preview and player positions
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void