Gondwana Game Engine Development (master) - 2.6.1
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 and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
KeyEventConfiguration.cs
2
8public class KeyEventConfiguration : InputEventConfigurationBase
9{
16 public string Key { get; private set; } // Could be "A", "Enter", "ArrowUp", etc.
17
39 public KeyEventConfiguration(string key, double secondsBetweenEvents = 0, bool isPaused = false)
40 : base(secondsBetweenEvents, isPaused)
41 {
42 Key = key;
43 }
44
53 public override string ToString()
54 {
55 return $"KeyEventConfiguration: Key={Key}, TimeBetweenEvents={TimeBetweenEvents}, IsPaused={IsPaused}";
56 }
57}
string Key
Gets the identifier of the keyboard key associated with this configuration. This can be a key name su...
override string ToString()
Returns a string representation of this key event configuration, including the key identifier,...
KeyEventConfiguration(string key, double secondsBetweenEvents=0, bool isPaused=false)
Initializes a new instance of the KeyEventConfiguration class with the specified key identifier and e...