Documentatie model
This commit is contained in:
@@ -4,6 +4,12 @@ import static java.lang.Math.*;
|
||||
import worms.util.Coordinate;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* A class of Projectiles involving a worm, a mass and a force.
|
||||
*
|
||||
* @version 1.0
|
||||
* @author Arthur Bols & Leen Dereu
|
||||
*/
|
||||
public abstract class Projectile extends GameObject implements IJumpable {
|
||||
|
||||
// region constructor
|
||||
|
@@ -7,6 +7,12 @@ import java.util.concurrent.ThreadLocalRandom;
|
||||
import static java.lang.Math.cos;
|
||||
import static java.lang.Math.sin;
|
||||
|
||||
/**
|
||||
* A class of Rifles involving a worm.
|
||||
*
|
||||
* @version 1.0
|
||||
* @author Arthur Bols & Leen Dereu
|
||||
*/
|
||||
public class Rifle extends Projectile {
|
||||
|
||||
/**
|
||||
|
@@ -6,6 +6,12 @@ import java.util.function.BiFunction;
|
||||
import worms.util.IllegalNameException;
|
||||
import worms.util.TeamComparator;
|
||||
|
||||
/**
|
||||
* A class of Teams involving a name and a world.
|
||||
*
|
||||
* @version 2.0
|
||||
* @author Arthur Bols & Leen Dereu
|
||||
*/
|
||||
public class Team {
|
||||
|
||||
|
||||
|
@@ -5,6 +5,12 @@ import worms.util.Coordinate;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* A class of Worlds involving a width, a height and a map.
|
||||
*
|
||||
* @version 2.0
|
||||
* @author Arthur Bols & Leen Dereu
|
||||
*/
|
||||
public class World {
|
||||
|
||||
// region constructor / destructor
|
||||
|
Reference in New Issue
Block a user