libc8
CHIP-8 utility library
Loading...
Searching...
No Matches
C8_Command Struct Reference

Represents a command with an ID, argument ID, and associated argument. More...

#include <debug.h>

Data Fields

C8_CommandIdentifier id
 
C8_Arg arg
 
int setValue
 

Detailed Description

Represents a command with an ID, argument ID, and associated argument.

This structure is used to encapsulate a command's identifier, its argument, and a value to set the argument to specifically for set commands.

Parameters
idcommand identifier
argArg argument
setValuevalue to set arg.value to for set commands

Field Documentation

◆ arg

C8_Arg arg

◆ id

◆ setValue

int setValue

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