how would you find what direction a object is looking and then when you add another object it looks the same way ????
private int userRotation;
public void act()
{
if (user != null) {
userRotation = user.getRotation();
}
}public int getUserRotation()
{
return userRotation;
}