soccerclient.datamanager
Class PlayMode

java.lang.Object
  |
  +--soccerclient.datamanager.PlayMode
All Implemented Interfaces:
java.io.Serializable

public class PlayMode
extends java.lang.Object
implements java.io.Serializable

Überschrift: PlayMode

Beschreibung: This class the actual playmode is safed.

Copyright: Copyright (c) 2002

Organisation: pm39

Author:
J.F.G
See Also:
Serialized Form

Inner Class Summary
(package private)  class PlayMode.NoPlayMode
           
 
Field Summary
static int BEFORE_KICK_OFF
           
static int CATCH_L
           
static int CATCH_R
           
static int CORNER_KICK_L
           
static int CORNER_KICK_R
           
static int DROP_BALL
           
static int FREE_KICK_L
           
static int FREE_KICK_R
           
static int GOAL_KICK_L
           
static int GOAL_KICK_R
           
static int GOAL_L
           
static int GOAL_R
           
static int KICK_IN_L
           
static int KICK_IN_R
           
static int KICK_OFF_L
           
static int KICK_OFF_R
           
static int OFFSIDE_L
           
static int OFFSIDE_R
           
static int PLAY_ON
           
static int TIME_OVER
           
 
Constructor Summary
PlayMode()
          Creates a new PlayMode instance with BEFORE_KICK_OFF mode
 
Method Summary
 int getPlayMode()
          Returns playmodus
 void setPlayMode(int nr)
          Sets playmode specified by nr
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEFORE_KICK_OFF

public static final int BEFORE_KICK_OFF

PLAY_ON

public static final int PLAY_ON

TIME_OVER

public static final int TIME_OVER

KICK_OFF_L

public static final int KICK_OFF_L

KICK_OFF_R

public static final int KICK_OFF_R

KICK_IN_L

public static final int KICK_IN_L

KICK_IN_R

public static final int KICK_IN_R

FREE_KICK_L

public static final int FREE_KICK_L

FREE_KICK_R

public static final int FREE_KICK_R

CORNER_KICK_L

public static final int CORNER_KICK_L

CORNER_KICK_R

public static final int CORNER_KICK_R

GOAL_KICK_L

public static final int GOAL_KICK_L

GOAL_KICK_R

public static final int GOAL_KICK_R

GOAL_L

public static final int GOAL_L

GOAL_R

public static final int GOAL_R

OFFSIDE_L

public static final int OFFSIDE_L

OFFSIDE_R

public static final int OFFSIDE_R

DROP_BALL

public static final int DROP_BALL

CATCH_R

public static final int CATCH_R

CATCH_L

public static final int CATCH_L
Constructor Detail

PlayMode

public PlayMode()
Creates a new PlayMode instance with BEFORE_KICK_OFF mode
Method Detail

getPlayMode

public int getPlayMode()
Returns playmodus
Returns:
a int containing playmode static final int BEFORE_KICK_OFF = 0; PLAY_ON | TIME_OVER | KICK_OFF_L | KICK_OFF_R | KICK_IN_L | KICK_IN_R | FREE_KICK_L | FREE_KICK_R | CORNER_KICK_L | CORNER_KICK_R | GOAL_KICK_L | GOAL_KICK_R | GOAL_L | GOAL_R | OFFSIDE_L | OFFSIDE_R | DROP_BALL | CATCH_R | CATCH_L

setPlayMode

public void setPlayMode(int nr)
                 throws java.lang.Exception
Sets playmode specified by nr
Parameters:
a - int containing playmode
Throws:
PlayMode.NoPlayMode - if nr specifies no playmode
See Also:
getPlayMode()