game
Class Game

java.lang.Object
  extended by game.Game

public class Game
extends java.lang.Object

Version:
1.0

Constructor Summary
Game()
           
Game(Team a, Team b)
          Initialize a game
 
Method Summary
 Team getTeamA()
           
 Team getTeamB()
           
 int getValueA()
           
 int getValueB()
           
 Team getWinner()
          Get the Winner of the Game
 boolean isFinished()
          is the game allready finished?
 int layer()
          On which layer is that game
 void setTeamA(Team teamA)
           
 void setTeamB(Team teamB)
           
 void setValueA(int valueA)
           
 void setValueB(int valueB)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Game

public Game()

Game

public Game(Team a,
            Team b)
Initialize a game

Parameters:
a - TeamA
b - TeamB
Method Detail

layer

public int layer()
On which layer is that game

Returns:
layer

getTeamA

public Team getTeamA()
Returns:
the teamA

setTeamA

public void setTeamA(Team teamA)
Parameters:
teamA - the teamA to set

getTeamB

public Team getTeamB()
Returns:
the teamB

setTeamB

public void setTeamB(Team teamB)
Parameters:
teamB - the teamB to set

getValueA

public int getValueA()
Returns:
the valueA

setValueA

public void setValueA(int valueA)
Parameters:
valueA - the valueA to set

getValueB

public int getValueB()
Returns:
the valueB

setValueB

public void setValueB(int valueB)
Parameters:
valueB - the valueB to set

getWinner

public Team getWinner()
Get the Winner of the Game

Returns:

isFinished

public boolean isFinished()
is the game allready finished?

Returns:
true if finished