ch.sahits.game
Class Client
java.lang.Object
ch.sahits.game.Client
- All Implemented Interfaces:
- IClient
public class Client
- extends Object
- implements IClient
Client representation of the game
- Author:
- Andi Hotz, (c) Sahits GmbH, 2011
Created on Sep 18, 2011
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
player
private final IPlayer player
game
private IGame game
competitor
private List<IPlayer> competitor
Client
public Client(IPlayer player)
getPlayer
public IPlayer getPlayer()
- Specified by:
getPlayer in interface IClient
getGameMap
public IMap getGameMap()
- Specified by:
getGameMap in interface IClient
initGame
public void initGame(IGame game)
- Specified by:
initGame in interface IClient
addCompetitor
public void addCompetitor(IPlayer player)
- Specified by:
addCompetitor in interface IClient
getGame
public IGame getGame()
- Specified by:
getGame in interface IClient
Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.