i want to use a specfic object of the class and not the class itself?
// instance fields used private Actor onPad; // to track what pad car is on private boolean turned; // to indicate whether turn was made at pad or not // in act or method called by act Actor pad = getOneIntersectingObject(Pad.class); if (pad != onPad) // moving onto or off of a pad { onPad = pad; turned = false; } if (onPad != null) // on a pad { if (!turned && /** time to turn */) { turn(onPad.getRotation()); turned = true; } }