Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Tower {
- private int damage = 1;
- private boolean inRange = false;
- private int range = 2;
- private Position towerPosition;
- //TODO
- public Tower(int col,int row){
- towerPosition = new Position(row,col);
- }
- public int getRange(){
- return range;
- }
- public int getDamage(){
- return damage;
- }
- public Position getTowerPosition(){
- return towerPosition;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement