C# Class MrGravity.LevelEditor.Entity

Afficher le fichier Open project: DizWARE/Mr-Gravity Class Usage Examples

Méthodes publiques

Свойство Type Description
ObjectId int

Méthodes publiques

Méthode 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 méthode

public Copy ( ) : Entity
Résultat Entity

Draw() public méthode

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

Draw() public méthode

public Draw ( Graphics g, Point offset ) : void
g System.Drawing.Graphics
offset Point
Résultat void

Entity() public méthode

public Entity ( Entity original ) : System
original Entity
Résultat System

Entity() public méthode

public Entity ( System.Xml.Linq.XElement ent ) : System
ent System.Xml.Linq.XElement
Résultat System

Entity() public méthode

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
Résultat System

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

Export() public méthode

public Export ( ) : System.Xml.Linq.XElement
Résultat System.Xml.Linq.XElement

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

MoveEntity() public méthode

public MoveEntity ( Point where ) : void
where Point
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

ObjectId public_oe static_oe property

public static int ObjectId
Résultat int