Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

A player can jump #66

Open
TheoPannetier opened this issue Feb 14, 2024 · 0 comments
Open

A player can jump #66

TheoPannetier opened this issue Feb 14, 2024 · 0 comments

Comments

@TheoPannetier
Copy link
Contributor

TheoPannetier commented Feb 14, 2024

// 66 - A player can jump
    {
        player p;
        // A player starts at ground level
        assert(p.get_y() == 0.0);
        p.jump();
        assert(p.get_y() > 0.0);
    }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants