Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::sim::PeekState Class Reference

#include <probe_peek.h>

Collaboration diagram for bicameral::sim::PeekState:
[legend]

Classes

struct  Plan

Public Member Functions

void Look (PeekCell cell)
void Stop ()
bool IsLooking () const
PeekCell Requested () const
Plan NextPlan (uint64_t tick)

Private Attributes

PeekCell m_requested
bool m_hasRequest = false
PeekCell m_active
bool m_hasActive = false
uint64_t m_lastTick = 0

Detailed Description

Definition at line 52 of file probe_peek.h.

Member Function Documentation

◆ IsLooking()

bool bicameral::sim::PeekState::IsLooking ( ) const
inlinenodiscard

Definition at line 61 of file probe_peek.h.

References m_hasRequest.

◆ Look()

void bicameral::sim::PeekState::Look ( PeekCell cell)
inline

Definition at line 54 of file probe_peek.h.

References m_hasRequest, and m_requested.

◆ NextPlan()

◆ Requested()

PeekCell bicameral::sim::PeekState::Requested ( ) const
inlinenodiscard

Definition at line 62 of file probe_peek.h.

References m_requested.

◆ Stop()

void bicameral::sim::PeekState::Stop ( )
inline

Definition at line 59 of file probe_peek.h.

References m_hasRequest.

Member Data Documentation

◆ m_active

PeekCell bicameral::sim::PeekState::m_active
private

Definition at line 81 of file probe_peek.h.

Referenced by NextPlan().

◆ m_hasActive

bool bicameral::sim::PeekState::m_hasActive = false
private

Definition at line 82 of file probe_peek.h.

Referenced by NextPlan().

◆ m_hasRequest

bool bicameral::sim::PeekState::m_hasRequest = false
private

Definition at line 78 of file probe_peek.h.

Referenced by IsLooking(), Look(), NextPlan(), and Stop().

◆ m_lastTick

uint64_t bicameral::sim::PeekState::m_lastTick = 0
private

Definition at line 83 of file probe_peek.h.

Referenced by NextPlan().

◆ m_requested

PeekCell bicameral::sim::PeekState::m_requested
private

Definition at line 77 of file probe_peek.h.

Referenced by Look(), NextPlan(), and Requested().


The documentation for this class was generated from the following files: