embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
laser_tag.h File Reference
#include "stdint.h"
Include dependency graph for laser_tag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  laser_tag_status_t
 

Enumerations

enum  laser_tag_status {
  GAME_NOT_STARTED, GAME_ON_ALIVE, GAME_ON_RESPAWN, GAME_ON_DEAD,
  GAME_OVER
}
 

Functions

void LaserTag_Init (void)
 
void LaserTag_Fire (void)
 
void LaserTag_RegisterStatusCallback (void(*callback)(const laser_tag_status_t *))
 

Enumeration Type Documentation

laser_tag.h

Created on: Apr 18, 2018 Author: Michael

Enumerator
GAME_NOT_STARTED 
GAME_ON_ALIVE 
GAME_ON_RESPAWN 
GAME_ON_DEAD 
GAME_OVER 

Function Documentation

void LaserTag_Fire ( void  )

Here is the call graph for this function:

void LaserTag_Init ( void  )

Here is the call graph for this function:

void LaserTag_RegisterStatusCallback ( void(*)(const laser_tag_status_t *)  callback)