com.eoi.freya.turn
Interface Phase

All Known Implementing Classes:
BasePhase

public interface Phase

The interface for Phase classes.


Method Summary
 void execute()
           
 org.jdom.Element getInfo()
           
 java.lang.String getName()
           
 Player getPlayer()
           
 boolean repeatForAllPlayers()
           
 void setInfo(org.jdom.Element attributes)
           
 void setName(java.lang.String name)
           
 void setPlayer(Player player)
           
 void setPlayerCommands(PlayerCommands playerCommands)
           
 

Method Detail

setInfo

public void setInfo(org.jdom.Element attributes)

getInfo

public org.jdom.Element getInfo()

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

execute

public void execute()

setPlayerCommands

public void setPlayerCommands(PlayerCommands playerCommands)

getPlayer

public Player getPlayer()

setPlayer

public void setPlayer(Player player)

repeatForAllPlayers

public boolean repeatForAllPlayers()


Freya Engine, The Turn Based Game Engine
Copyright(c) 2002 Alexander Bilton
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA