use of spacegraph.space2d.widget.windo.PhyWall in project narchy by automenta.
the class Explosives method main.
public static void main(String[] args) {
PhyWall p = SpaceGraph.wall(1200, 1000);
Dynamics2D w = p.W;
w.setContactListener(new ExplosionContacts());
// w.setGravity(new v2(0, -2.8f));
staticBox(w, -8, -4, 8, 4);
Gun g = new Gun(1f, w);
Loop.of(g::fire).runFPS(10f);
}
Aggregations