Coverage Summary for Class: StateType (it.polimi.ingsw.Model.Enums)
| Class | Class, % | Method, % | Line, % |
|---|---|---|---|
| StateType | 100% (1/1) | 100% (2/2) | 100% (3/3) |
1 package it.polimi.ingsw.Model.Enums; 2 3 import it.polimi.ingsw.Model.StatefulEffect; 4 5 import java.io.Serial; 6 import java.io.Serializable; 7 8 /** 9 * {@link it.polimi.ingsw.Model.StatefulEffect} cards contain an internal state, this Enumeration allows for simple identification 10 * of the internal state through {@link StatefulEffect#getStateType()} 11 */ 12 public enum StateType implements Serializable { 13 PAWNCOLOUR, 14 NOENTRY; 15 @Serial 16 private static final long serialVersionUID = 129L; // convention: 1 for model, (01 -> 99) for objects 17 }