us.asciiroth.client.core
Class Context

java.lang.Object
  extended by us.asciiroth.client.core.Context
Direct Known Subclasses:
Event

public class Context
extends java.lang.Object

This could almost just be an interface that both Game and Event implement, and then HasBoard could be removed, and only this interface could be exposed when event is used for certain methods.


Constructor Summary
Context(Player player, Board board)
           
 
Method Summary
 Board getBoard()
           
 Player getPlayer()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Context

public Context(Player player,
               Board board)
Method Detail

getBoard

public Board getBoard()

getPlayer

public Player getPlayer()

0.7

2009 Alx Dark