C# Class MarioLevelEditor.MainForm

Afficher le fichier Open project: jazzyjester/Mario-Game

Méthodes publiques

Свойство Type Description
CurrentImageIndex int
LX int
MainImage Bitmap
OX int
Objects List
Seconds int

Méthodes publiques

Méthode Description
CheckPosition ( int x, int y ) : LevelEditorObject
DrawAllObjects ( ) : void
LoadEditorObjects ( ) : void
MainForm ( ) : System
ObjectTypeToImage ( LevelEditorObject obj ) : Bitmap
PutBox ( int x, int y, int ind, Boolean Check ) : void
SetListIndexToObjects ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
InitializeComponent ( ) : void

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

MainForm_Load ( object sender, EventArgs e ) : void
MainForm_Paint ( object sender, PaintEventArgs e ) : void
list_ItemActivate ( object sender, EventArgs e ) : void
list_KeyDown ( object sender, KeyEventArgs e ) : void
mOpen_Click ( object sender, EventArgs e ) : void
mSaveAs_Click ( object sender, EventArgs e ) : void
mSave_Click ( object sender, EventArgs e ) : void
offsetXSelectedToolStripMenuItem_Click ( object sender, EventArgs e ) : void
offsetYSelectedToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pictureLevel_MouseDown ( object sender, MouseEventArgs e ) : void
pictureLevel_MouseEnter ( object sender, EventArgs e ) : void
pictureLevel_MouseLeave ( object sender, EventArgs e ) : void
pictureLevel_MouseMove ( object sender, MouseEventArgs e ) : void
pictureLevel_Paint ( object sender, PaintEventArgs e ) : void
timerobject_Tick ( object sender, EventArgs e ) : void

Method Details

CheckPosition() public méthode

public CheckPosition ( int x, int y ) : LevelEditorObject
x int
y int
Résultat LevelEditorObject

Dispose() protected méthode

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

DrawAllObjects() public méthode

public DrawAllObjects ( ) : void
Résultat void

LoadEditorObjects() public méthode

public LoadEditorObjects ( ) : void
Résultat void

MainForm() public méthode

public MainForm ( ) : System
Résultat System

ObjectTypeToImage() public méthode

public ObjectTypeToImage ( LevelEditorObject obj ) : Bitmap
obj LevelEditorObject
Résultat Bitmap

PutBox() public méthode

public PutBox ( int x, int y, int ind, Boolean Check ) : void
x int
y int
ind int
Check Boolean
Résultat void

SetListIndexToObjects() public méthode

public SetListIndexToObjects ( ) : void
Résultat void

Property Details

CurrentImageIndex public_oe property

public int CurrentImageIndex
Résultat int

LX public_oe property

public int LX
Résultat int

MainImage public_oe property

public Bitmap MainImage
Résultat Bitmap

OX public_oe property

public int OX
Résultat int

Objects public_oe property

public List Objects
Résultat List

Seconds public_oe property

public int Seconds
Résultat int