Dmitrijs Griskovs / Mbed 2 deprecated el17dg

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Sprite Struct Reference

Sprite Struct Reference

A function to put a sprite and its data in one variable. More...

#include <models.h>

int width
 The width of the sprite.
int height
 The height of the sprite.
const int * data
 The array of 1s and 0s of the sprite.

Detailed Description

A function to put a sprite and its data in one variable.

A struct that alows to create an object containing a sprite, its width and height. It is used with another function located in main.h.

Definition at line 27 of file models.h.


Field Documentation

const int* data

The array of 1s and 0s of the sprite.

Definition at line 32 of file models.h.

int height

The height of the sprite.

Definition at line 31 of file models.h.

int width

The width of the sprite.

Definition at line 30 of file models.h.