This commit is contained in:
2025-12-15 03:44:53 +08:00
parent 25a5950e8d
commit 2a3bcf7423
12 changed files with 326 additions and 107 deletions

View File

@@ -17,13 +17,13 @@ namespace Presenter {
this.gemView = gemView;
}
public void Tick() {
public void Tick(float gemSpeed) {
if (this.gemView == null) {
return;
}
if (!this.gem.Position.Compare(this.gemView.transform.localPosition)) {
this.gemView.UpdatePosition(this.gem.Position);
this.gemView.UpdatePosition(this.gem.Position, gemSpeed);
}
}
}