sorry last one
as stated above i don't know how to.
im trying something like this
public class PlayerHealthBar extends Actor { /** * Act - do whatever the PlayerHealthBar wants to do. This method is called whenever * the 'Act' or 'Run' button gets pressed in the environment. */ public void act() { Betty player = (Betty)lives(); if (player) lives() = 5; } }