public GameObject(Context context, String typ, float screen_width_proportion) { this.typ = typ; this.screen_width_proportion = screen_width_proportion; activity = (GameActivity)context; }
public GameEventHandler(GameActivity activity, List <gameevent> archievedEvents) { this.activity = activity; this.archievedEvents = archievedEvents; time = activity.getTime(); }