OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:grounded
(Results
1 - 2
of
2
) sorted by null
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/superkoalio/
SuperKoalio.java
65
boolean
grounded
= false;
field in class:SuperKoalio.Koala
158
if ((Gdx.input.isKeyPressed(Keys.SPACE) || isTouched(0.5f, 1)) && koala.
grounded
) {
161
koala.
grounded
= false;
166
if (koala.
grounded
) koala.state = Koala.State.Walking;
172
if (koala.
grounded
) koala.state = Koala.State.Walking;
189
if (koala.
grounded
) koala.state = Koala.State.Standing;
242
// if we hit the ground, mark us as
grounded
so we can jump
243
koala.
grounded
= true;
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
Box2DCharacterControllerTest.java
193
boolean
grounded
= isPlayerGrounded(Gdx.graphics.getDeltaTime());
194
if (
grounded
) {
198
grounded
= true;
217
if (!
grounded
) {
254
// jump, but only when
grounded
257
if (
grounded
) {
283
font.draw(batch, "friction: " + playerPhysicsFixture.getFriction() + "\ngrounded: " +
grounded
, point.x + 20, point.y);
Completed in 63 milliseconds