Yuheng Huo / Mbed 2 deprecated hyh_copy

Dependencies:   mbed FXOS8700CQ

Embed: (wiki syntax)

« Back to documentation index

life Class Reference

life Class Reference

My Life Class the number of lives and draw the lives icon. More...

#include <life.h>

Public Member Functions

void update ()
 decrease the lives
void display (N5110 &lcd)
 show the remail lives on the display

Detailed Description

My Life Class the number of lives and draw the lives icon.

Author:
Huo Yuheng
Date:
May, 2020

Definition at line 7 of file life.h.


Member Function Documentation

void display ( N5110 lcd )

show the remail lives on the display

Definition at line 19 of file life.cpp.

void update (  )

decrease the lives

Definition at line 15 of file life.cpp.