Update input feeding logic.

This commit is contained in:
2022-11-12 01:00:31 +08:00
parent d10e6ea18b
commit 35040e4ebd
2 changed files with 14 additions and 21 deletions

View File

@@ -31,8 +31,11 @@ namespace Cryville.Crtr {
}
list.Add(time + def.clip[0], new JudgeEvent { EndTime = time + def.clip[1], Definition = def, State = container });
}
public void Feed(InputEvent ev) {
public void Feed(string target, float ft, float tt) {
Logger.Log("main", 0, "Judge", "Feed {0}: {1}->{2}", target, ft, tt);
}
public void Cleanup(string target, float ft, float tt) {
Logger.Log("main", 0, "Judge", "Cleanup {0}: {1}->{2}", target, ft, tt);
}
public readonly Dictionary<int, ScoreDefinition> scoreDefs = new Dictionary<int, ScoreDefinition>();
public readonly Dictionary<int, float> scores = new Dictionary<int, float>();