public void Cleanup()
 {
     collisionState.resetCollisions();
     amountMovedLastFrame = amountMovedThisFrame;
     amountMovedThisFrame = new Vector2();
     beenCarriedThisFrame = false;
 }
示例#2
0
 private void Update()
 {
     collisionState.resetCollisions();
 }