コード例 #1
0
 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());
 }
コード例 #2
0
 public void setScreenSize(int width, int height) {
   mHeight = height;
   mWidth = width;
   TEManagerGraphics.setScreenSize(width, height);
 }