Get all Objects in an applet

Hi there,

is there a way I can get the names of all objects my applet is using and store them in an array?

When that is done I want to filter them so that I’m only left with some objects with special methods and atributs.

I want to program a physics engine and thing this is a way of letting my physics class handle all my objects that should be handled in one go. It can then check all these objects o collisions, gravity, speed, friction and so on.

Is my attempt possible?

This is a news forum. Please re-ask under Game Physics, Newless Clewbies, or Gameplay/Design.

Ups. Sorry.