The XWorld type exposes the following members.

Constructors

  NameDescription
XWorldOverloaded.

Methods

  NameDescription
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.
DisposeOverloaded.
Equals

Determines whether the specified Object is equal to the current Object.

(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.

(Inherited from Object.)
GetType

Gets the Type of the current instance.

(Inherited from Object.)
MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)
Remove
Removes a value sprite from the world.
ToString

Returns a String that represents the current Object.

(Inherited from Object.)

Fields

  NameDescription
DefaultLengthUnit
The default unit distance in this world.

Properties

  NameDescription
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.

See Also