mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-29 21:13:07 +00:00
Swing variable added to entities.
This commit is contained in:
parent
8e1013b96a
commit
e5e25fa2ab
3 changed files with 3 additions and 2 deletions
|
@ -30,6 +30,7 @@ namespace RhythmHeavenMania
|
|||
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] public Color colorA;
|
||||
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] public Color colorB;
|
||||
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] public Color colorC;
|
||||
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] public float swing;
|
||||
public string datamodel;
|
||||
[JsonIgnore] public Editor.Track.TimelineEventObj eventObj;
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@ namespace RhythmHeavenMania.Games.SpaceSoccer
|
|||
canKick = false;
|
||||
|
||||
if (ball)
|
||||
ball.highKickSwing = highKicks[i].valA;
|
||||
ball.highKickSwing = highKicks[i].swing;
|
||||
break;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -182,7 +182,7 @@ namespace RhythmHeavenMania
|
|||
new GameAction("keep-up", delegate { }, 4f, true),
|
||||
new GameAction("high kick-toe!", delegate { }, 3f, false, new List<Param>()
|
||||
{
|
||||
new Param("valA", new EntityTypes.Float(0, 1), "Swing")
|
||||
new Param("swing", new EntityTypes.Float(0, 1), "Swing")
|
||||
}),
|
||||
}),
|
||||
new Minigame("djSchool", "DJ School \n<color=#eb5454>[Non-Playable]</color>", "008c97", false, false, new List<GameAction>()
|
||||
|
|
Loading…
Reference in a new issue