mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2025-07-06 20:45:26 +08:00
Color fixes. Draw.Circle. JSON.Enum. OnCollide leak fix
This commit is contained in:
@ -12,6 +12,11 @@ namespace Strawberry
|
||||
Action = action;
|
||||
}
|
||||
|
||||
public ~this()
|
||||
{
|
||||
delete Action;
|
||||
}
|
||||
|
||||
public override void Started()
|
||||
{
|
||||
|
||||
|
@ -16,6 +16,13 @@ namespace Strawberry
|
||||
|
||||
}
|
||||
|
||||
public this(Action onComplete, bool destroyOnComplete = false)
|
||||
: base(false, false)
|
||||
{
|
||||
OnComplete = onComplete;
|
||||
RemoveOnComplete = destroyOnComplete;
|
||||
}
|
||||
|
||||
public this(float value, Action onComplete, bool destroyOnComplete = false)
|
||||
: base(false, false)
|
||||
{
|
||||
|
Reference in New Issue
Block a user