C# 클래스 MapEditor.Form1

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: Wotuu/RTS_XNA_v2

공개 프로퍼티들

프로퍼티 타입 설명
CollisionMap CollisionMap
EraseTexture Texture2D
MarqueeSelection MarqueeData
Players List
TileSetImagepath string
camera MapEditor.Camera
cursor Texture2D
linetexture Texture2D
nodetext Texture2D
selectedrectangle Rectangle
spriteBatch SpriteBatch
spriteBatchMiniMap SpriteBatch
tileMap TileMap.TileMap
tilemaptexture Texture2D
tileset Tileset

공개 메소드들

메소드 설명
Form1 ( ) : System

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
BtnDrawNodes_Click ( object sender, EventArgs e ) : void
BtnLayerDown_Click ( object sender, EventArgs e ) : void
BtnLayerUp_Click ( object sender, EventArgs e ) : void
CreateMarqueeArea ( System RectangleA, System RectangleB ) : Rectangle
DrawDisplay ( ) : void
DrawGrid ( ) : void
DrawLayer ( int layer ) : void
DrawMarqueeSelection ( ) : void
InitializeComponent ( ) : void

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

Logic ( ) : void
Render ( ) : void
SnapToGrid ( System Location ) : System.Drawing.Rectangle
createNewMap ( ) : void
loadToolStripMenuItem_Click ( object sender, EventArgs e ) : void
loadtileset ( ) : void
moveminimaprect ( ) : void
newMapToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openTilesetToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void
tileDisplay1_MouseDown ( object sender, MouseEventArgs e ) : void
tileDisplay1_MouseEnter ( object sender, EventArgs e ) : void
tileDisplay1_MouseLeave ( object sender, EventArgs e ) : void
tileDisplay1_MouseMove ( object sender, MouseEventArgs e ) : void
tileDisplay1_MouseUp ( object sender, MouseEventArgs e ) : void
tileDisplay1_OnDraw ( object sender, EventArgs e ) : void
tileDisplay1_OnInitialize ( object sender, EventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

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

Form1() 공개 메소드

public Form1 ( ) : System
리턴 System

프로퍼티 상세

CollisionMap 공개적으로 정적으로 프로퍼티

public static CollisionMap CollisionMap
리턴 CollisionMap

EraseTexture 공개적으로 프로퍼티

public Texture2D EraseTexture
리턴 Texture2D

MarqueeSelection 공개적으로 정적으로 프로퍼티

public static MarqueeData MarqueeSelection
리턴 MarqueeData

Players 공개적으로 정적으로 프로퍼티

public static List Players
리턴 List

TileSetImagepath 공개적으로 프로퍼티

public string TileSetImagepath
리턴 string

camera 공개적으로 정적으로 프로퍼티

public static Camera,MapEditor camera
리턴 MapEditor.Camera

cursor 공개적으로 프로퍼티

public Texture2D cursor
리턴 Texture2D

linetexture 공개적으로 정적으로 프로퍼티

public static Texture2D linetexture
리턴 Texture2D

nodetext 공개적으로 프로퍼티

public Texture2D nodetext
리턴 Texture2D

selectedrectangle 공개적으로 프로퍼티

public Rectangle selectedrectangle
리턴 Rectangle

spriteBatch 공개적으로 프로퍼티

public SpriteBatch spriteBatch
리턴 SpriteBatch

spriteBatchMiniMap 공개적으로 프로퍼티

public SpriteBatch spriteBatchMiniMap
리턴 SpriteBatch

tileMap 공개적으로 정적으로 프로퍼티

public static TileMap.TileMap tileMap
리턴 TileMap.TileMap

tilemaptexture 공개적으로 정적으로 프로퍼티

public static Texture2D tilemaptexture
리턴 Texture2D

tileset 공개적으로 정적으로 프로퍼티

public static Tileset tileset
리턴 Tileset