package nl.mvdr.tinustris.model;

import java.util.Map;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.ToString;
import nl.mvdr.tinustris.input.InputState;

/**
 * Contains a frame index, as well as a number of input states indexed by player number.
 * 
 * @author Martijn van de Rijdt
 */
@Getter
@ToString
@EqualsAndHashCode
@RequiredArgsConstructor
public class FrameAndInputStatesContainer {
    /** Frame / update index. */
    private final int frame;
    /** Input states, indexed by player index. */
    private final Map<Integer, InputState> inputStates;
}

@@ -27,16 +27,45 @@
 model;%0A%0A
+import java.io.Serializable;%0A
 import j
@@ -482,9 +482,122 @@
 ner 
-%7B
+implements Serializable %7B%0A    /** Serial version UID. */%0A    private static final long serialVersionUID = 1L;%0A    
 %0A   

Implement Serializable.