R-Type
Networked shoot'em up built on Aegis2D
Loading...
Searching...
No Matches
rtype::EditorPointer Struct Reference

The mouse of a frame, in logical pixels of the screen. More...

#include </__w/project-rtype/project-rtype/client/network/include/rtype/level_editor.hpp>

Public Attributes

aegis2d::Vec2 position {}
 Where it is.
 
bool pressed = false
 The left button went down: place an enemy, or take the one under the mouse.
 
bool held = false
 The left button is down: the enemy taken follows the mouse.
 
bool remove = false
 The right button went down: remove the enemy under the mouse.
 

Detailed Description

The mouse of a frame, in logical pixels of the screen.

Member Data Documentation

◆ held

bool rtype::EditorPointer::held = false

The left button is down: the enemy taken follows the mouse.

◆ position

aegis2d::Vec2 rtype::EditorPointer::position {}

Where it is.

◆ pressed

bool rtype::EditorPointer::pressed = false

The left button went down: place an enemy, or take the one under the mouse.

◆ remove

bool rtype::EditorPointer::remove = false

The right button went down: remove the enemy under the mouse.


The documentation for this struct was generated from the following file: