C# Класс ARCed.Controls.MapEditorXnaPanel

Наследование: GraphicsDeviceControl
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
InitializeComponent void
LoadNewMap void
MapEditorXnaPanelDisposed void
MapEditorXnaPanelMouseDown void
MapEditorXnaPanelMouseMove void
MapEditorXnaPanelMouseUp void
ResetPoints void

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CreateAutotile() публичный метод

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
Результат Microsoft.Xna.Framework.Graphics.Texture2D[]

Dispose() защищенный метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

Draw() защищенный метод

Performs painting of the control
protected Draw ( ) : void
Результат void

Initialize() защищенный метод

Creates the context and prepares for drawing
protected Initialize ( ) : void
Результат void

MapEditorXnaPanel() публичный метод

Creates and returns a new instance of a MapEditorXnaPanel.
public MapEditorXnaPanel ( ) : System
Результат System