mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2025-07-06 20:45:26 +08:00
Entity and Component Ended()
This commit is contained in:
@ -17,11 +17,6 @@ namespace Strawberry
|
||||
delete Action;
|
||||
}
|
||||
|
||||
public override void Started()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void Update()
|
||||
{
|
||||
if (Action != null)
|
||||
@ -32,10 +27,5 @@ namespace Strawberry
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public override void Draw()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -35,11 +35,6 @@ namespace Strawberry
|
||||
CallUpdate();
|
||||
}
|
||||
|
||||
public override void Draw()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Add(TIndex state, delegate void() enter = null, delegate TIndex() update = null, delegate void() exit = null)
|
||||
{
|
||||
let s = new State();
|
||||
|
@ -31,11 +31,6 @@ namespace Strawberry
|
||||
RemoveOnComplete = destroyOnComplete;
|
||||
}
|
||||
|
||||
public override void Started()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void Update()
|
||||
{
|
||||
if (value > 0)
|
||||
@ -53,11 +48,6 @@ namespace Strawberry
|
||||
}
|
||||
}
|
||||
|
||||
public override void Draw()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public float Value
|
||||
{
|
||||
[Inline]
|
||||
|
@ -27,11 +27,6 @@ namespace Strawberry
|
||||
Active = true;
|
||||
}
|
||||
|
||||
public override void Started()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void Update()
|
||||
{
|
||||
T = Math.Min(T + Time.Delta, 1);
|
||||
@ -45,10 +40,5 @@ namespace Strawberry
|
||||
RemoveSelf();
|
||||
}
|
||||
}
|
||||
|
||||
public override void Draw()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user