Hello,
How can I pass AddTimer reference to other class.
For example I initialise a new class from main GameCode class like this:
engine a = new engine(reference);
So I could use AddTimer in other class.
by TobiasW » December 22nd, 2010, 2:32 pm
Engine a = new Engine(this);
public class Engine {
public Engine(GameCode game) {
game.AddTimer(...);
[...]
by avol » December 22nd, 2010, 6:14 pm
by TobiasW » December 23rd, 2010, 12:17 am
by avol » December 26th, 2010, 9:00 pm