ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el19tb

Dependencies:   mbed

Sprite/Background.h

Committer:
el19tb
Date:
2020-05-13
Revision:
14:6fe667ec957e
Child:
16:8a65cccd9685

File content as of revision 14:6fe667ec957e:

#ifndef "BACKGROUND_H"
#define "BACKGROUND_H"


int bus[4][6] = {
   
    // bus has a longer width
    { 0, 0, 0, 0, 0, 0 },
    { 1, 1, 1, 1, 1, 1 },
    { 1, 1, 1, 1, 1, 1 },
    { 0, 0, 0, 0, 0, 0 },

};

int road[4][4] = {
       
    { 1, 0, 1, 0 },
    { 0, 0, 0, 0 },
    { 0, 0, 0, 0 },
    { 1, 0, 1, 0 },

};

int first_water[4][4] = {

    { 1, 0, 1, 0 },
    { 0, 0, 0, 1 },
    { 0, 1, 1, 0 },
    { 1, 0, 1, 0 },
};

int second_water[4][4] = {
    
    { 0, 1, 0, 1 },
    { 0, 0, 0, 0 },
    { 0, 1, 1, 0 },
    { 0, 1, 0, 1 },  
    
};

int third_water[4][4] = {
    { 1, 0, 0, 0 },
    { 0, 1, 1, 1 },
    { 1, 0, 0, 0 },
    { 0, 1, 0, 1 }, 

};

#endif