Re-implement relative motion.

This commit is contained in:
2023-04-19 13:54:35 +08:00
parent 1b30d3e62c
commit 2b3898655f
5 changed files with 116 additions and 26 deletions

View File

@@ -175,6 +175,7 @@ namespace Cryville.Crtr.Event {
public void EndPreGraphicalUpdate() {
RootState.EndPreGraphicalUpdate();
ClearTempEvents();
}
public void EndGraphicalUpdate() {
RootState.EndGraphicalUpdate();
@@ -190,6 +191,10 @@ namespace Cryville.Crtr.Event {
tempEvents.Clear();
}
public void PreAnchor() {
if (RootState.Handler.Alive) RootState.PreAnchor();
}
public void Anchor() {
if (RootState.Handler.Alive) RootState.Anchor();
}