public class YoungGun extends GameObject
Modifier and Type | Field and Description |
---|---|
Tile |
callInTile
The Tile that a Cowboy will be called in on if this YoungGun calls in a Cowboy.
|
boolean |
canCallIn
True if the YoungGun can call in a Cowboy, false otherwise.
|
Player |
owner
The Player that owns and can control this YoungGun.
|
Tile |
tile
The Tile this YoungGun is currently on.
|
logs
Modifier and Type | Method and Description |
---|---|
Cowboy |
callIn(java.lang.String job)
Tells the YoungGun to call in a new Cowboy of the given job to the open Tile nearest to them.
|
log
public Tile callInTile
public boolean canCallIn
public Player owner
public Tile tile
public Cowboy callIn(java.lang.String job)
job
- The job you want the Cowboy being brought to have.© 2020 MST ACM SIG-GAME