C# Class MrGravity.LevelEditor.Entity

Datei anzeigen Open project: DizWARE/Mr-Gravity Class Usage Examples

Public Properties

Property Type Description
ObjectId int

Public Methods

Method Description
Copy ( ) : Entity
Draw ( Graphics g ) : void

Draws this entity in a non-zoomed location

Draw ( Graphics g, Point offset ) : void
Entity ( Entity original ) : System
Entity ( System.Xml.Linq.XElement ent ) : System
Entity ( string type, string name, int objectId, string collisionType, bool paintable, string>.Dictionary properties, Image texture ) : System
Equals ( object obj ) : bool
Export ( ) : System.Xml.Linq.XElement
GetHashCode ( ) : int
MoveEntity ( Point where ) : void
ToString ( ) : string

Method Details

Copy() public method

public Copy ( ) : Entity
return Entity

Draw() public method

Draws this entity in a non-zoomed location
public Draw ( Graphics g ) : void
g System.Drawing.Graphics Graphics object to draw to
return void

Draw() public method

public Draw ( Graphics g, Point offset ) : void
g System.Drawing.Graphics
offset Point
return void

Entity() public method

public Entity ( Entity original ) : System
original Entity
return System

Entity() public method

public Entity ( System.Xml.Linq.XElement ent ) : System
ent System.Xml.Linq.XElement
return System

Entity() public method

public Entity ( string type, string name, int objectId, string collisionType, bool paintable, string>.Dictionary properties, Image texture ) : System
type string
name string
objectId int
collisionType string
paintable bool
properties string>.Dictionary
texture Image
return System

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

Export() public method

public Export ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement

GetHashCode() public method

public GetHashCode ( ) : int
return int

MoveEntity() public method

public MoveEntity ( Point where ) : void
where Point
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

ObjectId public_oe static_oe property

public static int ObjectId
return int