public void update() { wallCollisionCheck(); Velocity *= friction; if (Velocity.Length() < 0.1) Velocity = Vector2.Zero; Position += Velocity; }