1.PNG

이런식으로 ExActivity에 말고 stateClass에서 액티비티를 종료 하고 싶습니다.

분명 ExActivity에서  setContentView(new GameView(this));  하고

drawClass 에서  생성자가 public GameView(Context context) {}해서 activity?를 받는데..

Activity a = context 나 this를 하면 오류가 납니다 ㅠㅠㅠ분명 Activity를 넘겼는데;;

어떻게 해야할까요ㅠㅠ?그냥 전역변수 쓸까하다가 고민해보려고 질문드립니다 ㅠㅠ