C# 클래스 CrisisAtSwissStation.LevelEditor.Editor

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: danielpcox/Crisis-at-Swiss-Station

공개 메소드들

메소드 설명
CurrDirHack ( ) : string

Returns up through "Content folder

Editor ( ) : System
IsEmptyString ( string s ) : bool
RotateVector2 ( Vector2 point, float radians ) : Vector2

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
AreObjPropertiesValid ( ) : bool

Are all the object properties entered by the user valid?

ClearToolMenu ( ) : void

Set all tool squares to "unchecked."

Editor_FormClosing ( object sender, FormClosingEventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify

MakeSpaceObject ( string texName, Image tex, Point mp ) : void
PopulateTextureList ( string dir ) : void
SaveRoom ( ) : void
b_ApplyProperties_Click ( object sender, EventArgs e ) : void

Apply properties in text box to currently selected object.

b_Front_Click ( object sender, EventArgs e ) : void
cbox_Scripted_CheckedChanged ( object sender, EventArgs e ) : void
dist ( Point p, Point center ) : double
drawPhysicsObject ( PhysicsObject obj, PaintEventArgs e ) : void
enableEditing ( bool editingWorld ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
load_file ( bool loadWorld, string filter, string title ) : void
mi_Load_Room_Click ( object sender, EventArgs e ) : void
mi_Load_World_Click ( object sender, EventArgs e ) : void
mi_New_World_Click ( object sender, EventArgs e ) : void
mi_Save_As_Click ( object sender, EventArgs e ) : void
mi_Save_Click ( object sender, EventArgs e ) : void
paintedCircle ( float radius, Vector2 gameposition ) : List
paintedSquare ( float sidelength, Vector2 gameposition ) : List
painting_clicked_insert ( MouseEventArgs e ) : void
painting_clicked_select ( MouseEventArgs e ) : void
pb_Level_MouseClick ( object sender, MouseEventArgs e ) : void
pb_Level_MouseDown ( object sender, MouseEventArgs e ) : void
pb_Level_MouseMove ( object sender, MouseEventArgs e ) : void
pb_Level_MouseUp ( object sender, MouseEventArgs e ) : void
pb_Level_Paint ( object sender, PaintEventArgs e ) : void
rb_AnimationObjects_CheckedChanged ( object sender, EventArgs e ) : void
rb_BackgroundObjects_CheckedChanged ( object sender, EventArgs e ) : void
rb_BoxObjects_CheckedChanged ( object sender, EventArgs e ) : void
rb_CircleObjects_CheckedChanged ( object sender, EventArgs e ) : void
rb_Door_CheckedChanged ( object sender, EventArgs e ) : void
rb_HoleObject_CheckedChanged ( object sender, EventArgs e ) : void
rb_HorizontalMovingPlatform_CheckedChanged ( object sender, EventArgs e ) : void
rb_MovingPlatform_CheckedChanged ( object sender, EventArgs e ) : void
rb_PaintedObjects_CheckedChanged ( object sender, EventArgs e ) : void
rb_PistonObject_CheckChanged ( object sender, EventArgs e ) : void
rb_SeeSawObject_CheckedChanged ( object sender, EventArgs e ) : void
rb_SwitchObject_CheckedChanged ( object sender, EventArgs e ) : void
rb_Vanish_Walls_CheckedChanged ( object sender, EventArgs e ) : void
rb_WinDoorObject_CheckedChanged ( object sender, EventArgs e ) : void
refreshResizeObjectBox ( ) : void
showMessage ( string title, string text ) : void
switchRooms ( ) : void
tb_Density_Leave ( object sender, EventArgs e ) : void
tb_Rotation_Leave ( object sender, EventArgs e ) : void
tool_Insertion_Click ( object sender, EventArgs e ) : void
tool_Selection_Click ( object sender, EventArgs e ) : void
updateTitle ( ) : void

Changes the title of the main editor screen to display the name of the selected room.

메소드 상세

CurrDirHack() 공개 정적인 메소드

Returns up through "Content folder
public static CurrDirHack ( ) : string
리턴 string

Dispose() 보호된 메소드

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

Editor() 공개 메소드

public Editor ( ) : System
리턴 System

IsEmptyString() 공개 정적인 메소드

public static IsEmptyString ( string s ) : bool
s string
리턴 bool

RotateVector2() 공개 정적인 메소드

public static RotateVector2 ( Vector2 point, float radians ) : Vector2
point Vector2
radians float
리턴 Vector2