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

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

Public Properties

Property Type Description
display_map_state MapDisplayGameState
turn_done_button DrawableRectangle

Public Methods

Method Description
Draw ( SpriteBatch sprite_batch ) : void
DrawProgramHead ( SmartboyDevelopments.Haxxit p, SmartboyDevelopments.Haxxit head_node ) : DrawableRectangle
Init ( ) : void
LoadContent ( GraphicsDevice graphics, SpriteBatch sprite_batch, Microsoft.Xna.Framework.Content.ContentManager content ) : void
MapPlayGameState ( MapDisplayGameState background_state ) : System
NewMediator ( SimplePubSub mediator ) : void
OnButtonInside ( DrawableRectangle rectangle ) : void
OnButtonOutside ( DrawableRectangle rectangle ) : void
OnLeaveMapClick ( DrawableRectangle rectangle ) : void
OnProgramClick ( DrawableRectangle rectangle ) : void
OnTurnDoneClick ( DrawableRectangle rectangle ) : void
OnUndoClick ( DrawableRectangle rectangle ) : void
SubscribeAll ( ) : void
Update ( ) : void

Private Methods

Method Description
MapChangedListener ( SimplePubSub notifiable, string channel, object sender, EventArgs args ) : void
MapHackedListener ( SimplePubSub notifiable, string channel, object sender, EventArgs args ) : void
SilicoinNodeListener ( SimplePubSub notifiable, string channel, object sender, EventArgs args ) : void
TurnDoneListener ( SimplePubSub notifiable, string channel, object sender, EventArgs args ) : void

Method Details

Draw() public method

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

DrawProgramHead() public method

public DrawProgramHead ( SmartboyDevelopments.Haxxit p, SmartboyDevelopments.Haxxit head_node ) : DrawableRectangle
p SmartboyDevelopments.Haxxit
head_node SmartboyDevelopments.Haxxit
return DrawableRectangle

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

MapPlayGameState() public method

public MapPlayGameState ( MapDisplayGameState background_state ) : System
background_state MapDisplayGameState
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

OnLeaveMapClick() public method

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

OnProgramClick() public method

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

OnTurnDoneClick() public method

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

OnUndoClick() public method

public OnUndoClick ( 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 public property

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

turn_done_button public property

public DrawableRectangle turn_done_button
return DrawableRectangle