coastline 0.0.4
Loading...
Searching...
No Matches
coastline::ScriptKey Struct Reference

A key of the keyboard down from a frame for a number of frames. More...

#include <runscript.h>

Collaboration diagram for coastline::ScriptKey:

Public Attributes

int frame
std::string name
int frames
int line

Detailed Description

A key of the keyboard down from a frame for a number of frames.

Member Data Documentation

◆ frame

int coastline::ScriptKey::frame

The first frame the key is down, from 1.

◆ name

std::string coastline::ScriptKey::name

The SDL name of the key, such as Return or F9.

◆ frames

int coastline::ScriptKey::frames

The frames the key stays down.

◆ line

int coastline::ScriptKey::line

The line of the script, from 1, for the message of an unknown key.


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