Initial Commit 1
This commit is contained in:
commit
36a5c3b9a6
58 changed files with 874 additions and 0 deletions
20
src/bz/bronze/latte/main/Game.java
Normal file
20
src/bz/bronze/latte/main/Game.java
Normal file
|
@ -0,0 +1,20 @@
|
|||
package bz.bronze.latte.main;
|
||||
|
||||
public class Game implements Runnable {
|
||||
private void update() {
|
||||
|
||||
}
|
||||
|
||||
private void render() {
|
||||
|
||||
}
|
||||
|
||||
public void run() {
|
||||
while (true) {
|
||||
System.out.println("Game thread running...");
|
||||
|
||||
update();
|
||||
render();
|
||||
}
|
||||
}
|
||||
}
|
15
src/bz/bronze/latte/main/Main.java
Normal file
15
src/bz/bronze/latte/main/Main.java
Normal file
|
@ -0,0 +1,15 @@
|
|||
package bz.bronze.latte.main;
|
||||
|
||||
public class Main {
|
||||
public static Thread game;
|
||||
|
||||
public static void init() {
|
||||
game = new Thread(new Game(), "game");
|
||||
|
||||
game.start();
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
init();
|
||||
}
|
||||
}
|
2
src/module-info.java
Normal file
2
src/module-info.java
Normal file
|
@ -0,0 +1,2 @@
|
|||
module latte {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue