The XWorld type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| XWorld | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds a XSprite sprite to this world.
| |
| Animate |
Performs the world animation.
| |
| Clear |
Removes all sprites from the world.
| |
| CollisionDetect |
Performs the collision check at the given time.
| |
| CreateCamera |
Creates new XCamera camera for this world.
| |
| Dispose | Overloaded. | |
| Equals | (Inherited from Object.) | |
| Finalize |
The class destructor.
(Inherited from XDisposableObject.) | |
| FindSprite |
Finds the XSprite sprite with the given name in this world.
| |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| GetType | Gets the Type of the current instance. | |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| Remove |
Removes a value sprite from the world.
| |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| DefaultLengthUnit |
The default unit distance in this world.
|
Properties
| Name | Description | |
|---|---|---|
| AmbientLight |
Gets or sets the ambient light for this world.
| |
| EnableAutoAnimation | ||
| EnableCollisionDetection | ||
| Fog |
Gets the XFog class instance for working with fog in this world.
| |
| IsDisposed |
Denotes whether the instance is disposed.
(Inherited from XDisposableObject.) | |
| LengthUnit |
Gets or sets the unit distance in this world.
| |
| Lights |
Returns the XLight..::.XLightCollection light collection in this world.
| |
| RootSprite |
Returns the root XSprite sprite of this world.
| |
| Sprites |
Gets the collection of XSprite sprites that the world root sprite instance contains.
| |
| SyncRoot | ||
| Timer |
Gets the XTimer class instance for working with time in this world.
|