Documentatie model

This commit is contained in:
Leen Dereu
2018-05-24 12:49:05 +02:00
parent 8ab759026f
commit ec12d20967
4 changed files with 24 additions and 0 deletions

View File

@@ -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

View File

@@ -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 {
/**

View File

@@ -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 {

View File

@@ -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