Property | Type | Description | |
---|---|---|---|
IsVisible | bool | ||
Position |
Method | Description | |
---|---|---|
BringDown ( ) : void |
Bring the object 1 layer down in the drawing order.
|
|
BringToBack ( ) : void |
Bring the object to the bottom of current object batch.
|
|
BringToFront ( ) : void |
Bring the object to the top of current object batch.
|
|
BringUp ( ) : void |
Bring the object 1 layer up in the drawing order.
|
|
Draw ( |
The update screen method.
|
|
GetBoundingBox ( bool absolute = false ) : |
Get a bounding box for the current object.
|
|
GetPosition ( bool absolute = false ) : |
Get a position depending on the flag.
|
|
Remove ( ) : void |
Remove the object from visual list.
|
|
ResetLayerId ( ) : void |
Reset the layer id to start new drawing loop.
|
|
Update ( ) : void |
The update logic method.
|
Method | Description | |
---|---|---|
VisualObjectBase ( ) : System.Collections.Generic |
Method | Description | |
---|---|---|
getContainingObjectList ( List |
Gets the parent VisualObjectBatch's list for further manipulations with layering.
|
public abstract Draw ( |
||
batch | SpriteBatch to draw to. | |
return | void |
public GetBoundingBox ( bool absolute = false ) : |
||
absolute | bool | Absolute or relative coordinates? |
return |
public GetPosition ( bool absolute = false ) : |
||
absolute | bool | Absolute or relative position. |
return |
protected VisualObjectBase ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |