Basics
Guides
API Reference
Basics
Guides
API Reference
[16:14] static extends: object
Helper for jbox2d's BodyType enum (com.almasb.fxgl.physics.box2d.dynamics.BodyType). Three values:
STATIC ()
Returns the STATIC enum AJO.
KINEMATIC ()
Returns the KINEMATIC enum AJO.
DYNAMIC ()
Returns the DYNAMIC enum AJO.
get (string Name)
Resolves a body type by name.
Name is "STATIC", "KINEMATIC", or "DYNAMIC".values ()
Returns BodyType[] containing every constant.
valueOf (string Name)
Standard Enum.valueOf strict lookup.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.