Focus pr on explicit type and util changes
This commit is contained in:
parent
205e602080
commit
be91fe9120
15 changed files with 18 additions and 856 deletions
|
|
@ -15,11 +15,6 @@ public unsafe struct AutomationEvent
|
|||
|
||||
/// <summary>Event parameters (if required)</summary>
|
||||
public fixed int Params[4];
|
||||
|
||||
public readonly void Play()
|
||||
{
|
||||
Raylib.PlayAutomationEvent(this);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Automation event list</summary>
|
||||
|
|
@ -37,20 +32,4 @@ public unsafe struct AutomationEventList
|
|||
|
||||
/// <inheritdoc cref="Events"/>
|
||||
public readonly ReadOnlySpan<AutomationEvent> EventsAsSpan => new ReadOnlySpan<AutomationEvent>(Events, (int)Count);
|
||||
|
||||
public static AutomationEventList Load(string fileName)
|
||||
{
|
||||
return Raylib.LoadAutomationEventList(fileName);
|
||||
}
|
||||
|
||||
public readonly CBool Export(string fileName)
|
||||
{
|
||||
return Raylib.ExportAutomationEventList(this, fileName);
|
||||
}
|
||||
|
||||
public void Unload()
|
||||
{
|
||||
Raylib.UnloadAutomationEventList(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue