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