C# Class PGMEBackend.GLControls.GLBorderBlocks

Datei anzeigen Open project: Diegoisawesome/AwesomeMapEditor-old

Public Properties

Property Type Description
endMouseX int
endMouseY int
mouseX int
mouseY int
rectDefaultColor Color
rectPaintColor Color
rectSelectColor Color
tool MapEditorTools

Public Methods

Method Description
FillBlocks ( int x, int y, short originalBlock, short newBlock ) : void
GLBorderBlocks ( int w, int h ) : System
MouseDown ( MapEditorTools Tool ) : void
MouseLeave ( ) : void
MouseMove ( int x, int y ) : void
MouseUp ( MapEditorTools Tool ) : void
Paint ( int w, int h ) : void
PaintBlocksToBorder ( short blockArray, int x, int y, int w, int h ) : void
StoreChangesToUndoBufferAndRedraw ( ) : void

Private Methods

Method Description
Paint ( ) : void
Render ( ) : void
SetupViewport ( ) : void

Method Details

FillBlocks() public method

public FillBlocks ( int x, int y, short originalBlock, short newBlock ) : void
x int
y int
originalBlock short
newBlock short
return void

GLBorderBlocks() public method

public GLBorderBlocks ( int w, int h ) : System
w int
h int
return System

MouseDown() public method

public MouseDown ( MapEditorTools Tool ) : void
Tool MapEditorTools
return void

MouseLeave() public method

public MouseLeave ( ) : void
return void

MouseMove() public method

public MouseMove ( int x, int y ) : void
x int
y int
return void

MouseUp() public method

public MouseUp ( MapEditorTools Tool ) : void
Tool MapEditorTools
return void

Paint() public method

public Paint ( int w, int h ) : void
w int
h int
return void

PaintBlocksToBorder() public method

public PaintBlocksToBorder ( short blockArray, int x, int y, int w, int h ) : void
blockArray short
x int
y int
w int
h int
return void

StoreChangesToUndoBufferAndRedraw() public method

public StoreChangesToUndoBufferAndRedraw ( ) : void
return void

Property Details

endMouseX public_oe property

public int endMouseX
return int

endMouseY public_oe property

public int endMouseY
return int

mouseX public_oe property

public int mouseX
return int

mouseY public_oe property

public int mouseY
return int

rectDefaultColor public_oe property

public Color rectDefaultColor
return Color

rectPaintColor public_oe property

public Color rectPaintColor
return Color

rectSelectColor public_oe property

public Color rectSelectColor
return Color

tool public_oe property

public MapEditorTools tool
return MapEditorTools