mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 17:57:39 +02:00
Fork Lifter fully functional again + more progress on dynamic event caller
This commit is contained in:
@ -13,15 +13,15 @@ namespace RhythmHeavenMania.Games.ForkLifter
|
||||
|
||||
public Sprite[] fastSprites;
|
||||
|
||||
// List<GameManager.Event> allPlayerActions;
|
||||
List<Beatmap.Entity> allPlayerActions;
|
||||
|
||||
public void CheckNextFlick()
|
||||
{
|
||||
// allPlayerActions = GameManager.instance.Events.FindAll(c => c.eventName != "gulp" && c.eventName != "sigh" && c.eventName != "prepare");
|
||||
allPlayerActions = EventCaller.GetAllInGameManagerListExcept("forkLifter", new string[] { "gulp", "sigh", "prepare" });
|
||||
|
||||
/*if (GameManager.instance.currentEventPlayer < allPlayerActions.Count)
|
||||
if (GameManager.instance.currentPlayerEvent < allPlayerActions.Count)
|
||||
{
|
||||
switch (allPlayerActions[GameManager.instance.currentEventPlayer].eventName)
|
||||
switch (allPlayerActions[GameManager.instance.currentPlayerEvent].datamodel.Split('/')[1])
|
||||
{
|
||||
case "pea":
|
||||
ForkLifter.instance.peaPreview.sprite = ForkLifter.instance.peaSprites[0];
|
||||
@ -44,7 +44,7 @@ namespace RhythmHeavenMania.Games.ForkLifter
|
||||
else
|
||||
{
|
||||
ForkLifter.instance.peaPreview.sprite = null;
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
public void Prepare()
|
||||
|
Reference in New Issue
Block a user