Jahanzeb Ahmed Khan 201375614

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers functions.cpp Source File

functions.cpp

00001 #include "functions.h"
00002 
00003 Functions::Functions()
00004 {
00005 }
00006 
00007 Functions::~Functions()
00008 {
00009 }
00010 
00011 void Functions::output_score(N5110 &lcd, Gamepad &pad, Body &body, Food &food)
00012 {
00013     char buffer2[12];
00014     sprintf(buffer2,"score = %2d",body.score);
00015     lcd.printString(buffer2,0,1);
00016 }