Coverage Summary for Class: DestinationType (it.polimi.ingsw.Controller)
| Class | Class, % | Method, % | Line, % |
|---|---|---|---|
| DestinationType | 100% (1/1) | 100% (2/2) | 100% (3/3) |
1 package it.polimi.ingsw.Controller; 2 3 import it.polimi.ingsw.Controller.Actions.MoveStudent; 4 5 import java.io.Serial; 6 import java.io.Serializable; 7 8 /** 9 * This enumeration is used by {@link MoveStudent} to direct a pawn from the entrance to the correct destination 10 */ 11 public enum DestinationType implements Serializable { 12 /** 13 * The destination is the Dining Room 14 */ 15 DININGROOM, 16 /** 17 * The destination is an Island 18 */ 19 ISLAND; 20 @Serial 21 private static final long serialVersionUID = 208L; // convention: 2 for controller, (01 -> 99) for objects 22 }