C# Class Engine.Objects.Entity

A representation of an entity.
Inheritance: IDisposable
Afficher le fichier Open project: Radnen/sphere-sfml

Méthodes publiques

Méthode Description
Copy ( ) : Entity

Creates a perfect copy of this entity.

Dispose ( ) : void

Dispose and close this object.

Entity ( BinaryReader stream ) : System

Creates a new entity that was embedded next in the stream

Entity ( EntityType type ) : System

Creates a new Entity with the supplied type.

ExecuteTrigger ( ) : void

Executes the trigger.

Save ( BinaryWriter binwrite ) : void

Saves the entity, embedding it into a file stream.

Private Methods

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Copy() public méthode

Creates a perfect copy of this entity.
public Copy ( ) : Entity
Résultat Entity

Dispose() public méthode

Dispose and close this object.
public Dispose ( ) : void
Résultat void

Entity() public méthode

Creates a new entity that was embedded next in the stream
public Entity ( BinaryReader stream ) : System
stream System.IO.BinaryReader The System.IO.BinaryReader to use.
Résultat System

Entity() public méthode

Creates a new Entity with the supplied type.
public Entity ( EntityType type ) : System
type EntityType The Entity.EntityType to use.
Résultat System

ExecuteTrigger() public méthode

Executes the trigger.
public ExecuteTrigger ( ) : void
Résultat void

Save() public méthode

Saves the entity, embedding it into a file stream.
public Save ( BinaryWriter binwrite ) : void
binwrite System.IO.BinaryWriter The System.IO.BinaryWriter to use.
Résultat void