C# Class SmartboyDevelopments.Haxxit.MonoGame.GameStates.MapSpawnGameState

Inheritance: HaxxitGameState
Show file Open project: smartboyathome/Haxxit Class Usage Examples

Protected Properties

Property Type Description
display_map_state MapDisplayGameState
finished_button DrawableRectangle
spawns DrawableRectangle>.Dictionary

Public Methods

Method Description
Draw ( SpriteBatch sprite_batch ) : void
Init ( ) : void
LoadContent ( GraphicsDevice graphics, SpriteBatch sprite_batch, Microsoft.Xna.Framework.Content.ContentManager content ) : void
MapSpawnGameState ( ) : System
MapSpawnGameState ( MapDisplayGameState background_state ) : System
MapSpawnGameState ( SmartboyDevelopments.Haxxit map ) : System
NewMediator ( SimplePubSub mediator ) : void
OnButtonInside ( DrawableRectangle rectangle ) : void
OnButtonOutside ( DrawableRectangle rectangle ) : void
OnFinishedClick ( DrawableRectangle rectangle ) : void
OnLeaveMapClick ( DrawableRectangle rectangle ) : void
OnSpawnClick ( DrawableRectangle rectangle ) : void
SubscribeAll ( ) : void
Update ( ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch sprite_batch ) : void
sprite_batch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Init() public method

public Init ( ) : void
return void

LoadContent() public method

public LoadContent ( GraphicsDevice graphics, SpriteBatch sprite_batch, Microsoft.Xna.Framework.Content.ContentManager content ) : void
graphics GraphicsDevice
sprite_batch Microsoft.Xna.Framework.Graphics.SpriteBatch
content Microsoft.Xna.Framework.Content.ContentManager
return void

MapSpawnGameState() public method

public MapSpawnGameState ( ) : System
return System

MapSpawnGameState() public method

public MapSpawnGameState ( MapDisplayGameState background_state ) : System
background_state MapDisplayGameState
return System

MapSpawnGameState() public method

public MapSpawnGameState ( SmartboyDevelopments.Haxxit map ) : System
map SmartboyDevelopments.Haxxit
return System

NewMediator() public method

public NewMediator ( SimplePubSub mediator ) : void
mediator SimplePubSub
return void

OnButtonInside() public method

public OnButtonInside ( DrawableRectangle rectangle ) : void
rectangle DrawableRectangle
return void

OnButtonOutside() public method

public OnButtonOutside ( DrawableRectangle rectangle ) : void
rectangle DrawableRectangle
return void

OnFinishedClick() public method

public OnFinishedClick ( DrawableRectangle rectangle ) : void
rectangle DrawableRectangle
return void

OnLeaveMapClick() public method

public OnLeaveMapClick ( DrawableRectangle rectangle ) : void
rectangle DrawableRectangle
return void

OnSpawnClick() public method

public OnSpawnClick ( DrawableRectangle rectangle ) : void
rectangle DrawableRectangle
return void

SubscribeAll() public method

public SubscribeAll ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

display_map_state protected property

protected MapDisplayGameState,SmartboyDevelopments.Haxxit.MonoGame.GameStates display_map_state
return MapDisplayGameState

finished_button protected property

protected DrawableRectangle finished_button
return DrawableRectangle

spawns protected property

protected Dictionary spawns
return DrawableRectangle>.Dictionary