tetris  final beta
A tetris implementation in C
Functions
events.c File Reference
#include <stdlib.h>
#include "../../sdl.h"
#include "../../main.h"
Include dependency graph for events.c:

Functions

int getActions (int *actions)
 Gets the actions of user. More...
 

Function Documentation

◆ getActions()

int getActions ( int *  actions)

Gets the actions of user.

Actions of user are stored in actions global variable.

Parameters
actionsThe array of actions
Returns
The number of actions