Thursday, 15 March 2012

java - Can't assign type -



java - Can't assign type -

i hame class gamemanager(), int class variable:

public gameview view;

it's class constructor:

public gamemanager (gameview view) { this.view = view; }

in class gameview create :

private gamemanager gameloopthread; .... public gameview(context context) { super(context); gameloopthread = new gameview(this);// here error ;

i dont know why want alter gameloopthread gameview() type.

gameloopthread = new gamemanager(this);

java android class assign

No comments:

Post a Comment