메소드 | 설명 | |
---|---|---|
Copy ( ) : Entity |
Creates a perfect copy of this entity.
|
|
Dispose ( ) : void |
Dispose and close this object.
|
|
Draw ( |
Draws this Entity onto a System.Drawing.Graphics object.
|
|
Entity ( |
Creates a new entity that was embedded next in the stream
|
|
Entity ( EntityType type ) : System |
Creates a new Entity with the supplied type.
|
|
FigureOutName ( List |
Used along with a list of others, it makes a unique name for this entity.
|
|
GetSSImage ( string rootpath ) : Image |
Get an image representation of this trigger / person
|
|
GetSpriteDirections ( string rootpath ) : string[] |
Gets a list of sprite directions fgor this person object:
|
|
Save ( |
Saves the entity, embedding it into a file stream.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
public Draw ( |
||
g | The System.Drawing.Graphics object to use. | |
tileWidth | int | The tile width for the map. |
tileHeight | int | The tile height for the map. |
offset | Point | The x/y offset to draw at. |
zoom | int | The zoom factor of the map. |
리턴 | void |
public Entity ( |
||
stream | The System.IO.BinaryReader to use. | |
리턴 | System |
public Entity ( EntityType type ) : System | ||
type | EntityType | The Entity.EntityType to use. |
리턴 | System |
public FigureOutName ( List |
||
others | List |
A List of other types |
리턴 | void |
public GetSSImage ( string rootpath ) : Image | ||
rootpath | string | The root path of the project to find the spriteset. |
리턴 | Image |
public GetSpriteDirections ( string rootpath ) : string[] | ||
rootpath | string | The root path to find the spriteset with. |
리턴 | string[] |
public Save ( |
||
binwrite | The System.IO.BinaryWriter to use. | |
리턴 | void |