diff options
author | Camil Staps | 2015-02-16 23:48:05 +0100 |
---|---|---|
committer | Camil Staps | 2015-02-16 23:48:05 +0100 |
commit | d7e113be4a56fa5aac3680fb5363168f545e5bce (patch) | |
tree | 811fa270a3e3a0bc5d37abc82468a2c8eae58081 /backyard/java/trunk/GameController/src | |
parent | Updated readme (diff) |
Added PHP API framework
Diffstat (limited to 'backyard/java/trunk/GameController/src')
-rw-r--r-- | backyard/java/trunk/GameController/src/nl/camilstaps/botleagues/GameController.java | 16 | ||||
-rw-r--r-- | backyard/java/trunk/GameController/src/nl/camilstaps/botleagues/MyGame.java | 12 |
2 files changed, 28 insertions, 0 deletions
diff --git a/backyard/java/trunk/GameController/src/nl/camilstaps/botleagues/GameController.java b/backyard/java/trunk/GameController/src/nl/camilstaps/botleagues/GameController.java new file mode 100644 index 0000000..0ad9d2c --- /dev/null +++ b/backyard/java/trunk/GameController/src/nl/camilstaps/botleagues/GameController.java @@ -0,0 +1,16 @@ +/** + * + */ +package nl.camilstaps.botleagues; + +/** + * The idea is to let this be a generic class that can be used for any game. + * It should take care of functions like: + * + * * Starting up bots + * * Sending data to bots + * * Receiving data from bots + */ +public abstract class GameController { + +} diff --git a/backyard/java/trunk/GameController/src/nl/camilstaps/botleagues/MyGame.java b/backyard/java/trunk/GameController/src/nl/camilstaps/botleagues/MyGame.java new file mode 100644 index 0000000..ecce818 --- /dev/null +++ b/backyard/java/trunk/GameController/src/nl/camilstaps/botleagues/MyGame.java @@ -0,0 +1,12 @@ +/** + * + */ +package nl.camilstaps.botleagues; + +/** + * The idea is to let this be an example of a game controller. + * Initially, we can do all the work here. Ideally, later, we'll split that up in an abstract part (in GameController) and an extension. + */ +public class MyGame extends GameController { + +} |