Pull down chart field from StateBase.
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Cryville.Crtr.Event {
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
ContainerState RootState;
|
||||
readonly Chart chart;
|
||||
readonly Dictionary<ChartEvent, ContainerState> containerMap
|
||||
= new Dictionary<ChartEvent, ContainerState>();
|
||||
readonly Dictionary<EventContainer, ContainerState> stateMap
|
||||
@@ -25,7 +25,8 @@ namespace Cryville.Crtr.Event {
|
||||
double beat;
|
||||
float tempo;
|
||||
|
||||
public EventBatcher(Chart c) : base(c, new List<ChartEvent>()) {
|
||||
public EventBatcher(Chart c) : base(new List<ChartEvent>()) {
|
||||
chart = c;
|
||||
beat = chart.BeatPosition;
|
||||
tempo = (float)c.sigs[0].tempo;
|
||||
events.Add(c);
|
||||
|
Reference in New Issue
Block a user