The XWorld2D type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | XWorld2D | Overloaded. |
Methods
Name | Description | |
---|---|---|
![]() | 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()()().) |
![]() | 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.
(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. |
![]() | 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.
(Inherited from XWorld.) |
![]() | ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | 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.) |