this is the Money Class
public class Money extends Actor { private int credit; /** * Act - do whatever the Money wants to do. This method is called whenever * the 'Act' or 'Run' button gets pressed in the environment. */ public int getValue() { return credit; } }