C# Class ARCed.Controls.MapEditorXnaPanel

Inheritance: GraphicsDeviceControl
Mostra file Open project: borisblizzard/arcreator

Private Properties

Property Type Description
InitializeComponent void
LoadNewMap void
MapEditorXnaPanelDisposed void
MapEditorXnaPanelMouseDown void
MapEditorXnaPanelMouseMove void
MapEditorXnaPanelMouseUp void
ResetPoints void

Public Methods

Method Description
CreateAutotile ( string filename ) : Microsoft.Xna.Framework.Graphics.Texture2D[]

Creates an internal texture used for blit operations from the autotile graphic.

MapEditorXnaPanel ( ) : System

Creates and returns a new instance of a MapEditorXnaPanel.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Draw ( ) : void

Performs painting of the control

Initialize ( ) : void

Creates the context and prepares for drawing

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadNewMap ( RPG map ) : void
MapEditorXnaPanelDisposed ( object sender, System e ) : void
MapEditorXnaPanelMouseDown ( object sender, System e ) : void
MapEditorXnaPanelMouseMove ( object sender, System e ) : void
MapEditorXnaPanelMouseUp ( object sender, System e ) : void
ResetPoints ( ) : void

Method Details

CreateAutotile() public method

Creates an internal texture used for blit operations from the autotile graphic.
public CreateAutotile ( string filename ) : Microsoft.Xna.Framework.Graphics.Texture2D[]
filename string Filename of the autotile graphic
return Microsoft.Xna.Framework.Graphics.Texture2D[]

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Draw() protected method

Performs painting of the control
protected Draw ( ) : void
return void

Initialize() protected method

Creates the context and prepares for drawing
protected Initialize ( ) : void
return void

MapEditorXnaPanel() public method

Creates and returns a new instance of a MapEditorXnaPanel.
public MapEditorXnaPanel ( ) : System
return System