roboplayer.core.memory
Class Memory

java.lang.Object
  |
  +--roboplayer.core.memory.Memory

public class Memory
extends java.lang.Object

This class is a storage for all information which is gathered by robot

Version:
1.0
Author:
Krzysztof Langner

Constructor Summary
Memory(Body body, Params params, char side, java.lang.String teamName)
          Constructor
 
Method Summary
 GameStateInfo getGameStateInfo()
          Get game state information
 TacticalInfo getTacticalInfo()
          Get tactical information
 VisualInfo getVisualInfo()
          Get visual information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Memory

public Memory(Body body,
              Params params,
              char side,
              java.lang.String teamName)
Constructor

Parameters:
body - robot body
side - which side do we play
teamName - name of the team
Method Detail

getVisualInfo

public VisualInfo getVisualInfo()
Get visual information

Returns:
VisualInfo object

getTacticalInfo

public TacticalInfo getTacticalInfo()
Get tactical information

Returns:
TacticalInfo object

getGameStateInfo

public GameStateInfo getGameStateInfo()
Get game state information

Returns:
TacticalInfo object