Zappy Server
C++ game server: world, rules, scheduler, network
Loading...
Searching...
No Matches
AiHandlers.cpp File Reference
#include <algorithm>
#include <cctype>
#include <string>
#include "CommandDispatcher.hpp"
#include "core/data/Orientation.hpp"
#include "core/data/Resources.hpp"
#include "utils/broadcastDirection.hpp"
+ Include dependency graph for AiHandlers.cpp:

Go to the source code of this file.

Classes

struct  LookVectors
 

Functions

static LookVectors _lookForwardRight (Orientation o)
 
static std::string _tileContent (const Tile &tile)
 

Function Documentation

◆ _lookForwardRight()

static LookVectors _lookForwardRight ( Orientation  o)
static

Definition at line 17 of file AiHandlers.cpp.

Referenced by CommandDispatcher::_handleLook().

+ Here is the caller graph for this function:

◆ _tileContent()

static std::string _tileContent ( const Tile tile)
static

Definition at line 32 of file AiHandlers.cpp.

References Resources::get_name(), Tile::playerIds, res(), Tile::resources, and Resources::TYPE_COUNT.

Referenced by CommandDispatcher::_handleLook().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: