Init project
This commit is contained in:
BIN
data.mv.db
Normal file
BIN
data.mv.db
Normal file
Binary file not shown.
2
project.bep
Normal file
2
project.bep
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
BASE Demo*com.bartlomiejpluta.demo.runner.DemoRunner
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.bartlomiejpluta.demo.runner;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.bartlomiejpluta.base.api.context.Context;
|
||||
import com.bartlomiejpluta.base.api.input.Input;
|
||||
import com.bartlomiejpluta.base.api.screen.Screen;
|
||||
import com.bartlomiejpluta.base.api.runner.GameRunner;
|
||||
|
||||
public class DemoRunner implements GameRunner {
|
||||
private static final Logger log = LoggerFactory.getLogger(DemoRunner.class);
|
||||
|
||||
@Override
|
||||
public void init(Context context) {
|
||||
// Resume engine, because it is initially paused
|
||||
context.resume();
|
||||
|
||||
log.info("The game runner is not implemented yet...");
|
||||
throw new RuntimeException("Not implemented yet");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(float dt) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dispose() {
|
||||
// Do something after game loop is end
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user