public override void LoadState(AgentState state) { MobileAgentState st = (MobileAgentState)state; _firstStart = st.FirstStart; _log = st.Log; _moves = st.Moves; }
public override AgentState SaveState() { MobileAgentState state = new MobileAgentState(); state.FirstStart = _firstStart; state.Log = _log; state.Moves = _moves; return(state); }