change dsome things inmatch, added the start of amain function.
This commit is contained in:
@ -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);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user