![]() |
Gondwana Game Engine
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop, mobile, and web platforms using SkiaSharp for graphics and NAudio for sound.
|
Represents an entry for an engine asset file, including its type and name. More...
Public Member Functions | |
| override string | ToString () |
| Returns a string representation of the asset, combining the asset type and name. | |
| bool | Equals (AssetsFileEntry? other) |
| Determines whether the current AssetsFileEntry is equal to another AssetsFileEntry | |
| override bool | Equals (object? obj) |
| Determines whether the specified object is equal to the current AssetsFileEntry. | |
| override int | GetHashCode () |
| Returns the hash code for the current AssetsFileEntry. | |
Properties | |
| AssetTypes | AssetType [get, set] |
| Gets or sets the type of asset associated with the engine. | |
| string | AssetName = string.Empty [get, set] |
| Gets or sets the name of the asset. | |
Represents an entry for an engine asset file, including its type and name.
This class provides functionality to parse a string representation of an engine asset file entry and to compare entries for equality. The string representation is expected in the format 'AssetType_AssetName'.
| bool Gondwana.Assets.AssetsFileEntry.Equals | ( | AssetsFileEntry? | other | ) |
Determines whether the current AssetsFileEntry is equal to another AssetsFileEntry
Two entries are considered equal if they have the same asset type and asset name (case-insensitive comparison).
| other | The AssetsFileEntry to compare with the current instance. |
true if the specified entry is equal to the current entry; otherwise, false.| override bool Gondwana.Assets.AssetsFileEntry.Equals | ( | object? | obj | ) |
Determines whether the specified object is equal to the current AssetsFileEntry.
| obj | The object to compare with the current instance. |
true if the specified object is an AssetsFileEntry and is equal to the current entry; otherwise, false.| override int Gondwana.Assets.AssetsFileEntry.GetHashCode | ( | ) |
Returns the hash code for the current AssetsFileEntry.
The hash code is computed based on the asset type and the lowercase version of the asset name to ensure case-insensitive equality.
| override string Gondwana.Assets.AssetsFileEntry.ToString | ( | ) |
Returns a string representation of the asset, combining the asset type and name.
|
getset |
Gets or sets the name of the asset.
|
getset |
Gets or sets the type of asset associated with the engine.