mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2026-10-19 13:59:23 +08:00
Color fixes. Draw.Circle. JSON.Enum. OnCollide leak fix
This commit is contained in:
1 parent
53ab0a7910
commit
afabb58543
6 files changed
+50
-3
No files matched your search
@@ -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