2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 2 of the License, or
5
* (at your option) any later version.
6
* This program is distributed in the hope that it will be useful,
7
* but WITHOUT ANY WARRANTY; without even the implied warranty of
8
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
* GNU General Public License for more details.
10
* You should have received a copy of the GNU General Public License
11
* along with this program; if not, write to the Free Software
12
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15
package games.strategy.triplea.delegate.remote;
17
import games.strategy.engine.data.TechnologyFrontier;
18
import games.strategy.engine.message.IRemote;
19
import games.strategy.triplea.delegate.dataObjects.TechResults;
22
* @author Sean Bridges
24
public interface ITechDelegate extends IRemote
28
* @param rollCount - the number of tech rolls
29
* @param tech - the tech category to roll for, should be null if the game does not support
30
* rolling for certain techs
31
* @return TechResults. If the tech could not be rolled, then a message saying why.
33
public TechResults rollTech(int rollCount, TechnologyFrontier techToRollFor, int newTokens);