#pragma once #include "ifdefs.h" #ifndef STRUCT_H #define STRUCT_H // Estructura para definir un circulo struct Circle { Uint16 x; Uint16 y; Uint8 r; }; // Estructura para definir todas las entradas que aceptará el programa struct Input { Uint8 up; Uint8 down; Uint8 left; Uint8 right; Uint8 escape; Uint8 pause; Uint8 fire; Uint8 fireLeft; Uint8 fireRight; Uint8 accept; Uint8 cancel; }; // Estructura para mapear el teclado usado en la demo struct DemoKeys { Uint8 left; Uint8 right; Uint8 noInput; Uint8 fire; Uint8 fireLeft; Uint8 fireRight; }; #endif