Example #1
0
void RomeArcher::_fire( TilePos p )
{
  SpearPtr spear = Spear::create( _city() );
  spear->toThrow( pos(), p );
  wait( game::Date::days2ticks( 1 ) / 2 );
}
Example #2
0
void WallGuard::_fire( TilePos target )
{
  SpearPtr spear = Walker::create<Spear>( _city() );
  spear->toThrow( pos(), target );
  wait( game::Date::days2ticks( 1 ) / 2 );
}