C# 클래스 fCraft.GUI.MapGeneratorGui

Class that provides a GUI (UserControl) for adjusting map parameters.
It would make sense for this class to be abstract, but VisualStudio's Designer does not support controls derived from abstract classes. See http://stackoverflow.com/questions/2764757/
상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: fragmer/fCraft 1 사용 예제들

공개 메소드들

메소드 설명
OnMapDimensionChange ( int width, int length, int height ) : void

Called by parent dialog when map dimension NumericUpDown controls have changed. Used to adjust any settings that may rely on map dimensions for scaling.

SetParameters ( [ generatorParameters ) : void

Reads given generator params, and adjusts GUI to reflect them.

보호된 메소드들

메소드 설명
MapGeneratorGui ( ) : System
OnParentChanged ( EventArgs e ) : void

비공개 메소드들

메소드 설명
GetParameters ( ) : MapGeneratorParameters
Parent_SizeChanged ( object sender, EventArgs e ) : void

메소드 상세

MapGeneratorGui() 보호된 메소드

protected MapGeneratorGui ( ) : System
리턴 System

OnMapDimensionChange() 공개 메소드

Called by parent dialog when map dimension NumericUpDown controls have changed. Used to adjust any settings that may rely on map dimensions for scaling.
public OnMapDimensionChange ( int width, int length, int height ) : void
width int Map width (horizontal, x dimension), in blocks.
length int Map length (horizontal, y dimension), in blocks.
height int Map height (vertical, z dimension), in blocks.
리턴 void

OnParentChanged() 보호된 메소드

protected OnParentChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

SetParameters() 공개 메소드

Reads given generator params, and adjusts GUI to reflect them.
public SetParameters ( [ generatorParameters ) : void
generatorParameters [ Given generation parameters.
리턴 void