Blaze Brigade  Rev0
Static Public Member Functions | List of all members
View.DrawClass Class Reference

Draw Class containing all the different draw methods More...

Static Public Member Functions

static void DrawUnit (SpriteBatch spriteBatch, Player player)
 
static void drawDamagePopup (SpriteBatch spriteBatch, SpriteFont font)
 
static void drawHighlightNodes (SpriteBatch spriteBatch, Graph graph, Texture2D moveableNode, Texture2D attackableNode)
 
static void drawDropDownMenu (SpriteBatch spriteBatch)
 
static void drawInventoryMenu (SpriteBatch spriteBatch, SpriteFont font)
 
static void drawUnitsAtGameOver (SpriteBatch spriteBatch)
 
static void drawEndTurnButton (SpriteBatch spriteBatch, Texture2D endTurnButton)
 
static void drawAttackConfirm (SpriteBatch spriteBatch, SpriteFont font, SpriteFont largeFont, SpriteFont largestFont, Graph graph)
 
static void drawInfoScreen (SpriteBatch spriteBatch, Unit unit, SpriteFont font, SpriteFont largeFont)
 
static void drawGameOverMenu (SpriteBatch spriteBatch, Texture2D gameOver, Texture2D backGround, SpriteFont largestFont)
 
static void drawTurnTransition (SpriteBatch spriteBatch, Texture2D player1Transition, Texture2D player2Transition)
 

Detailed Description

Draw Class containing all the different draw methods

Member Function Documentation

§ drawAttackConfirm()

static void View.DrawClass.drawAttackConfirm ( SpriteBatch  spriteBatch,
SpriteFont  font,
SpriteFont  largeFont,
SpriteFont  largestFont,
Graph  graph 
)
static

Draw attack confirmation screen spriteBatch to draw 2D bitmap to screen font small font to be used largeFont Larger font to be used largestFont Largest font to be used graph The game graph

§ drawDamagePopup()

static void View.DrawClass.drawDamagePopup ( SpriteBatch  spriteBatch,
SpriteFont  font 
)
static

Draw Damage pop up from attacking spriteBatch to draw 2D bitmap to screen font the font to be used

§ drawDropDownMenu()

static void View.DrawClass.drawDropDownMenu ( SpriteBatch  spriteBatch)
static

Draw highlightable nodes spriteBatch to draw 2D bitmap to screen

§ drawEndTurnButton()

static void View.DrawClass.drawEndTurnButton ( SpriteBatch  spriteBatch,
Texture2D  endTurnButton 
)
static

Draw end turn button spriteBatch to draw 2D bitmap to screen endTurnButton End turn button texture2D

§ drawGameOverMenu()

static void View.DrawClass.drawGameOverMenu ( SpriteBatch  spriteBatch,
Texture2D  gameOver,
Texture2D  backGround,
SpriteFont  largestFont 
)
static

Draw highlightable nodes spriteBatch to draw 2D bitmap to screen gameOver The game over button Texture2D background The background Texture2D largestFont Largest font to be used

§ drawHighlightNodes()

static void View.DrawClass.drawHighlightNodes ( SpriteBatch  spriteBatch,
Graph  graph,
Texture2D  moveableNode,
Texture2D  attackableNode 
)
static

Draw highlightable nodes spriteBatch to draw 2D bitmap to screen graph The current game graph moveableNode The texture for moveableNode attackableNode The texture for attackableNode

§ drawInfoScreen()

static void View.DrawClass.drawInfoScreen ( SpriteBatch  spriteBatch,
Unit  unit,
SpriteFont  font,
SpriteFont  largeFont 
)
static

Draws character information popup. spriteBatch Draws 2D bitmap to screen. unit Unit to print information of. font Small font to be used. largeFont Larger font to be used.

§ drawInventoryMenu()

static void View.DrawClass.drawInventoryMenu ( SpriteBatch  spriteBatch,
SpriteFont  font 
)
static

Draw highlightable nodes spriteBatch to draw 2D bitmap to screen font The font used to draw the text

§ drawTurnTransition()

static void View.DrawClass.drawTurnTransition ( SpriteBatch  spriteBatch,
Texture2D  player1Transition,
Texture2D  player2Transition 
)
static

Draw highlightable nodes spriteBatch to draw 2D bitmap to screen player1Transition The player 1 transition texture2D player2Transition The player 2 transition texture2D

§ DrawUnit()

static void View.DrawClass.DrawUnit ( SpriteBatch  spriteBatch,
Player  player 
)
static

Draw unit sprites spriteBatch to draw 2D bitmap to screen player The player's unit to draw

§ drawUnitsAtGameOver()

static void View.DrawClass.drawUnitsAtGameOver ( SpriteBatch  spriteBatch)
static

Draw highlightable nodes spriteBatch to draw 2D bitmap to screen


The documentation for this class was generated from the following file: