C# Class ARCed.Controls.MapEditorXnaPanel

Inheritance: GraphicsDeviceControl
Afficher le fichier Open project: borisblizzard/arcreator

Private Properties

Свойство Type Description
InitializeComponent void
LoadNewMap void
MapEditorXnaPanelDisposed void
MapEditorXnaPanelMouseDown void
MapEditorXnaPanelMouseMove void
MapEditorXnaPanelMouseUp void
ResetPoints void

Méthodes publiques

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

Méthodes protégées

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

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

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
Résultat Microsoft.Xna.Framework.Graphics.Texture2D[]

Dispose() protected méthode

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

Draw() protected méthode

Performs painting of the control
protected Draw ( ) : void
Résultat void

Initialize() protected méthode

Creates the context and prepares for drawing
protected Initialize ( ) : void
Résultat void

MapEditorXnaPanel() public méthode

Creates and returns a new instance of a MapEditorXnaPanel.
public MapEditorXnaPanel ( ) : System
Résultat System