Rev 836 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 367 | chris | 1 | package com.gebauz.PonPonChun; |
| 2 | |||
| 3 | import com.badlogic.gdx.backends.lwjgl.LwjglApplication; |
||
| 4 | import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; |
||
| 674 | chris | 5 | import com.gebauz.Bauzoid.game.Game; |
| 6 | import com.gebauz.Bauzoid.game.Game.DefaultGameFactory; |
||
| 7 | import com.gebauz.Bauzoid.input.Input; |
||
| 8 | import com.gebauz.Bauzoid.platform.windows.Win7TouchInput; |
||
| 367 | chris | 9 | |
| 372 | chris | 10 | public class Main |
| 11 | { |
||
| 674 | chris | 12 | public static class PingkWin7Factory extends DefaultGameFactory |
| 13 | { |
||
| 14 | @Override |
||
| 15 | public Input createInput(Game game) |
||
| 16 | { |
||
| 17 | return new Win7TouchInput(game); |
||
| 18 | } |
||
| 19 | } |
||
| 20 | |||
| 372 | chris | 21 | public static void main(String[] args) |
| 22 | { |
||
| 367 | chris | 23 | LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration(); |
| 519 | chris | 24 | cfg.title = "PonPon! Blocks"; |
| 367 | chris | 25 | cfg.useGL20 = true; |
| 676 | chris | 26 | cfg.width = 480; |
| 27 | cfg.height = 800; |
||
| 367 | chris | 28 | |
| 841 | chris | 29 | new LwjglApplication(new PonPonChunApp(false, new PingkWin7Factory()), cfg); |
| 367 | chris | 30 | } |
| 31 | } |