public TEEngine(int width, int height) { TEManagerGraphics.setScreenSize(width, height); mWidth = width; mHeight = height; mGameObjects = new Vector<TEGameObject>(); mManagers = new Vector<TEManager>(); mManagers.add(TEManagerTouch.sharedManager()); mManagers.add(TEManagerStack.sharedManager()); mManagers.add(TEManagerSound.sharedManager()); mManagers.add(TEManagerRender.sharedManager()); mManagers.add(TEManagerMovement.sharedManager()); }
public void setScreenSize(int width, int height) { mHeight = height; mWidth = width; TEManagerGraphics.setScreenSize(width, height); }