C# 클래스 MineEdit.MapChunkControl

파일 보기 프로젝트 열기: N3X15/MineEdit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AssignedChunk Vector3i
ChunkSize Vector3i
EntityButtons PictureBox>.Dictionary
Map IMapHandler
TileEntityButtons PictureBox>.Dictionary

공개 메소드들

메소드 설명
Draw ( ) : void
EntityHover ( object sender, EventArgs e ) : void
EntityMouseDown ( object sender, MouseEventArgs e ) : void
MapChunkControl ( ) : System
MapChunkControl ( MapControl mc, Vector3i pos, Vector3i sz ) : System

Initialize and set up events for this MapChunk.

MapChunkControl_Paint ( object sender, PaintEventArgs e ) : void
Render ( ) : void
TileEntityHover ( object sender, EventArgs e ) : void
TileEntityMouseDown ( object sender, MouseEventArgs e ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
DrawBlock ( Bitmap &bmp, int x, int y, Color c ) : void
DrawCross ( Graphics &g, Pen p, int x, int y ) : void
Fade ( Image image ) : Image
InitializeComponent ( ) : void

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

메소드 상세

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() 공개 메소드

public Draw ( ) : void
리턴 void

EntityHover() 공개 메소드

public EntityHover ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

EntityMouseDown() 공개 메소드

public EntityMouseDown ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
리턴 void

MapChunkControl() 공개 메소드

public MapChunkControl ( ) : System
리턴 System

MapChunkControl() 공개 메소드

Initialize and set up events for this MapChunk.
public MapChunkControl ( MapControl mc, Vector3i pos, Vector3i sz ) : System
mc MapControl Parent mapcontrol
pos Vector3i Position of chunk
sz Vector3i Chunk size
리턴 System

MapChunkControl_Paint() 공개 메소드

public MapChunkControl_Paint ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
리턴 void

Render() 공개 메소드

public Render ( ) : void
리턴 void

TileEntityHover() 공개 메소드

public TileEntityHover ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

TileEntityMouseDown() 공개 메소드

public TileEntityMouseDown ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
리턴 void

프로퍼티 상세

AssignedChunk 공개적으로 프로퍼티

Chunk (x,y,z) index
public Vector3i AssignedChunk
리턴 Vector3i

ChunkSize 공개적으로 프로퍼티

Size of chunk
public Vector3i ChunkSize
리턴 Vector3i

EntityButtons 공개적으로 프로퍼티

public Dictionary EntityButtons
리턴 PictureBox>.Dictionary

Map 공개적으로 프로퍼티

public IMapHandler Map
리턴 IMapHandler

TileEntityButtons 공개적으로 프로퍼티

public Dictionary TileEntityButtons
리턴 PictureBox>.Dictionary