Hello. I would like to use the variable "money", wich i created in MyWorld, in an actor. I tried the following, but it didnt work.
Ty for any help guys. Im new to all of this, so pls be kind :)
//in MyWorld class [code]//in MyWorld class public int money = 300; //in actor class int myWorldMoney = ((MyWorld) getWorld()).money();

