C# Класс Engine.Objects.Entity

A representation of an entity.
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Dispose ( bool disposing ) : void

Описание методов

Copy() публичный Метод

Creates a perfect copy of this entity.
public Copy ( ) : Entity
Результат Entity

Dispose() публичный Метод

Dispose and close this object.
public Dispose ( ) : void
Результат void

Entity() публичный Метод

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.
Результат System

Entity() публичный Метод

Creates a new Entity with the supplied type.
public Entity ( EntityType type ) : System
type EntityType The Entity.EntityType to use.
Результат System

ExecuteTrigger() публичный Метод

Executes the trigger.
public ExecuteTrigger ( ) : void
Результат void

Save() публичный Метод

Saves the entity, embedding it into a file stream.
public Save ( BinaryWriter binwrite ) : void
binwrite System.IO.BinaryWriter The System.IO.BinaryWriter to use.
Результат void