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
Constructor Summary |
PlayMode()
Creates a new PlayMode instance with BEFORE_KICK_OFF mode |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
PlayMode
public PlayMode()
- Creates a new
PlayMode
instance with BEFORE_KICK_OFF mode
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()