King and Pigs
  1. Namespaces
  1. Classes
  2. Files

VisionObject class
#include <VisionObject.hpp>

Contents

  • Reference
    • Derived classes
    • Constructors, destructors, conversion operators
    • Public functions
    • Protected variables

Derived classes

class Pig
class Player final

Constructors, destructors, conversion operators

VisionObject(const float range)

Public functions

void update() virtual
void debugDraw() const virtual
auto isSeeing(const ContactCategory category) const -> bool virtual

Protected variables

uint16 seeing_category_
float fraction_
int vision_range_
float vision_nearest_distance_
std::vector<raycast> raycast_
Tab / T to search, Esc to close
…

Search for symbols, directories, files, pages or modules. You can omit any prefix from the symbol or file path; adding a : or / suffix lists all members of given symbol or directory.

Use ↓ / ↑ to navigate through the list, Enter to go. Tab autocompletes common prefix, you can copy a link to the result using ⌘ L while ⌘ M produces a Markdown link.

Sorry, nothing was found.

    King and Pigs. Created with Doxygen 1.9.6 and m.css.