Example #1
0
bool Federation::Ship::move(int warp, Destination d) {
	if (warp <= getMaxWarp() && d != _location && isStable()) {
		_location = d;
		return true;
	}
	return false;
}
Example #2
0
bool		Federation::Ship::move() {
  return move(getMaxWarp(), _home); }
Example #3
0
bool		Federation::Ship::move(Destination d) {
  return move(getMaxWarp(), d); }