mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Added function to generate events for race
- added generateEvents() for creating event into a priority queue - added iterateEvents() to pull out events when time passing - changed default velocity to 70 just for testing. Pls change it back after testing #story[5] #implement
This commit is contained in:
@@ -9,7 +9,7 @@ public class Boat
|
||||
{
|
||||
// The name of the team, this is also the name of the boat
|
||||
private String teamName = null;
|
||||
private float velocity = 0;
|
||||
private float velocity = 70; // please set this one to a reasonable num!!!!!, i set it just for testing ;)
|
||||
|
||||
public Boat(String teamName) {
|
||||
this.teamName = teamName;
|
||||
|
||||
Reference in New Issue
Block a user