[update] Added ActorControllerFactory.

This commit is contained in:
2019-10-08 00:00:00 +00:00
parent 9d55655c92
commit 8b4e4535a1
3 changed files with 70 additions and 7 deletions

View File

@@ -37,10 +37,12 @@ int main(string[] args) {
const beat = msecs/60f * bpm;
context.OperateScheduledControllers(beat);
context.UpdateActor(vec2(0, 0));
gl.Clear(GL_COLOR_BUFFER_BIT);
context.DrawBackground();
context.DrawElements();
context.DrawActor();
sfWindow_display(win);
}
return 0;