Thiago . / Mbed 2 deprecated exercicios

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers cook.h Source File

cook.h

00001 #ifndef COOK_H
00002 #define COOK_H
00003 
00004 #include "mbed.h"
00005 #include "fruits.h"
00006 
00007 class cook{
00008     
00009     private:
00010     
00011         uint32_t howWellCooks;
00012         /*
00013         *   A scale to know how well does the cook cooks
00014         *   0 -> Doesnt cook at all
00015         *   ...
00016         *   3 -> Cooks edible food
00017         *   ...
00018         *   5 -> Me
00019         *   ...
00020         *   10-> Master Chef
00021         */
00022         
00023     
00024     public:
00025     
00026         uint32_t getHowWellCooks(void);
00027         /*
00028         *   Returns howWellCooks
00029         */
00030         void setHowWellCooks(uint32_t);
00031         /*
00032         *   To improved or worst the cooker skill
00033         */
00034         void makeBanana(Serial* ,fruits* fruit[]);
00035         /*
00036         *   A test to see if I can pass the banana array to a function
00037         */ 
00038     
00039     };
00040 
00041 
00042 #endif