|
| virtual RectangleF | GetDrawLocationScreen (View view) |
| | Transforms the drawable bounds into screen pixels for the specified view.
|
| virtual RectangleF | GetCollisionAreaScreen (View view) |
| | Transforms the collision bounds into screen pixels for the specified view.
|
| virtual void | Draw (BackbufferBase backbuffer, RectangleF destRectScreen) |
| | Draws the current content into the backbuffer at the supplied screen-pixel bounds.
|
| void | SetCollisionProfile (string profileName) |
| | Applies a named profile from this tile's parent scene. If the layer has not yet been attached to a scene, the name is retained and resolved later when the collider is attached or the profile is reapplied.
|
| int | CompareTo (Tile? tile) |
| | Compares this tile with another tile using their render ordering.
|
| virtual void | Dispose () |
| | Releases the resources owned by this instance.
|
|
| static List< Tile > | TilesAnimating = new() [get] |
| | Gets the collection of all tiles that are currently animating in the scene.
|
| bool | IsPositionFixed [get] |
| | Gets whether the tile occupies a fixed position in its layer.
|
| Rectangle | DrawLocationWorld [get] |
| | Gets the tile drawing bounds in world pixels.
|
| PointF | SceneLayerCoordinates [get] |
| | Gets the position in scene-layer grid coordinates.
|
| SceneLayer | SceneLayer [get] |
| | Gets the scene layer that owns this tile.
|
| Guid | Id = Guid.NewGuid() [get, set] |
| | Gets the unique identifier.
|
| string? | Nickname [get, set] |
| | Gets or sets the optional lookup name.
|
| virtual bool | Visible [get, set] |
| | Gets or sets whether this drawable is visible.
|
| virtual int | ZOrder [get, set] |
| | Gets or sets the drawing order within the layer.
|
| virtual Spacing | Overhang [get] |
| | Gets the current frame's visual overhang beyond its tile bounds.
|
| virtual Frame | CurrentFrame [get, set] |
| | Gets or sets the current frame. The initial frame supplies the tile's default collision adjustment and collision type. Later frame changes update those values only when their corresponding by-frame options are enabled.
|
| virtual Animator | TileAnimator [get] |
| | Gets the animator associated with this tile.
|
| virtual bool | PauseAnimation [get, set] |
| | Gets or sets whether animation is paused.
|
| virtual ? ICollider | Collider [get] |
| | Gets the collision shape associated with this tile.
|
| virtual Rectangle | CollisionArea [get] |
| | Gets the effective collision area in world coordinates.
|
| virtual bool | EnableFog [get, set] |
| | Gets or sets whether scene-layer fog applies to this tile.
|
| virtual Point[] | OutlinePointsWorld [get] |
| | Gets the tile outline vertices in world pixels.
|
| virtual bool | AdjustCollisionAreaByFrame [get, set] |
| | Gets or sets whether frame changes replace the tile's collision adjustment with the newly selected frame's adjustment.
|
| virtual CollisionAdjust | AdjustCollisionArea [get, set] |
| | Gets or sets the collision adjustment used to derive CollisionArea.
|
| virtual TileCollisionType | CollisionType [get, set] |
| | Gets or sets the tile's collision behavior. This is initialized from the first assigned frame and may subsequently be overridden per tile.
|
| virtual bool | CollisionTypeByFrame [get, set] |
| | Gets or sets whether frame changes replace this tile's collision type with the newly selected frame's effective collision type.
|
| string? | CollisionProfileName [get] |
| | Gets the scene-level collision profile currently associated with this tile.
|
| bool | CollisionsEnabled [get, set] |
| | Gets or sets whether this tile participates in collision detection.
|
| TypedValueBag | ValueBag = new() [get] |
| | Gets the custom typed values associated with this object.
|
Represents an abstract base class for drawable tiles in the Gondwana engine. Provides core functionality for rendering, animation, collision detection, and scene layer integration.
Definition at line 18 of file Tile.cs.