Methapolis  0.27
 All Classes Namespaces Files Functions Variables Enumerator
ToolEffectIfc.java
Go to the documentation of this file.
1 // This file is part of MicropolisJ.
2 // Copyright (C) 2013 Jason Long
3 // Portions Copyright (C) 1989-2007 Electronic Arts Inc.
4 //
5 // MicropolisJ is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU GPLv3, with additional terms.
7 // See the README file, included in this distribution, for details.
8 
9 package micropolisj.engine;
10 
11 import java.io.Serializable;
12 
13 public interface ToolEffectIfc extends Serializable
14 {
19  int getTile(int dx, int dy);
20 
21  void makeSound(int dx, int dy, Sound sound);
22 
26  void setTile(int dx, int dy, int tileValue);
27 
31  void spend(int amount);
32 
33  void toolResult(ToolResult tr);
34 
35  int getPlayerID();
36 }