The XWorld2D type exposes the following members.

Constructors

  NameDescription
XWorld2DOverloaded.

Methods

  NameDescription
Add
Adds a XSprite sprite to this world.
(Inherited from XWorld.)
Animate
Performs the world animation.
(Inherited from XWorld.)
Clear
Removes all sprites from the world.
(Inherited from XWorld.)
CollisionDetect
Performs the collision check at the given time.
(Inherited from XWorld.)
CreateCamera
Creates new XCamera camera for this world.
(Overrides XWorld..::.CreateCamera()()().)
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.
(Inherited from XWorld.)
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.
(Inherited from XWorld.)
ToString

Returns a String that represents the current Object.

(Inherited from Object.)

Properties

  NameDescription
AmbientLight
Gets or sets the ambient light for this world.
(Inherited from XWorld.)
EnableAutoAnimation (Inherited from XWorld.)
EnableCollisionDetection (Inherited from XWorld.)
Fog
Gets the XFog class instance for working with fog in this world.
(Inherited from XWorld.)
IsDisposed
Denotes whether the instance is disposed.
(Inherited from XDisposableObject.)
LengthUnit
Gets or sets the unit distance in this world.
(Inherited from XWorld.)
Lights
Returns the XLight..::.XLightCollection light collection in this world.
(Inherited from XWorld.)
RootSprite
Returns the root XSprite sprite of this world.
(Inherited from XWorld.)
Sprites
Gets the collection of XSprite sprites that the world root sprite instance contains.
(Inherited from XWorld.)
SyncRoot (Inherited from XWorld.)
Timer
Gets the XTimer class instance for working with time in this world.
(Inherited from XWorld.)

See Also