Cleanup
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user