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