change dsome things inmatch, added the start of amain function.

This commit is contained in:
no
2021-06-01 21:02:11 +02:00
parent f4b7d5752d
commit 2fd3dc61d9
4 changed files with 134 additions and 1 deletions

View File

@ -3,6 +3,7 @@ package gameplay.match;
import gameplay.input.InputBuffer;
import gameplay.entities.*;
import gameplay.entities.Character;
import engine.Engine;
/**
* Main class that describes the base structure of the match, with characters, timer and such
@ -37,6 +38,19 @@ public class match {
this.roundsWonP1 = 0;
this.roundsWonP2 = 0;
}
/**
* Main function of a match. Contains the main gameplay loop.
* @param args arguments
*/
public static void main(String args[]) {
Character p1 = new Character(); //TODO : change to not a blank
Character p2 = new Character(); //TODO : same as above
match match = new match(p1,p2);
}
}