Skip to content

ISeesThroughEyes

namespace Griff.Runtime;
public interface ISeesThroughEyes

A system that has the game seen through someone’s eyes (a first-person view’s player).

public abstract Entity? Eyes { get; }

The entity the game is seen through while the system draws the world through its eyes, or null: sounds are then heard from it, facing the way it faces, and Eyes is it.

public abstract bool LooksThrough(Entity entity)

True if the game is seen through entity’s eyes on the screen of whoever plays it (in a network game, each player’s own character): their controls aim the way it faces rather than with the mouse.