Hugo Hu / Mbed 2 deprecated BRAVEHEART

Dependencies:   mbed N5110 ShiftReg PinDetect

Resources.h

Committer:
Siriagus
Date:
2015-05-08
Revision:
12:8178fad5e660
Parent:
11:adb68da98262
Child:
13:7ab71c7c311b

File content as of revision 12:8178fad5e660:

#ifndef RESOURCES_H
#define RESOURCES_H

// Resource files - sprites/images stored as arrays

/// Images: Arrays consisting of 1 (opaque) or 0 (blank).
namespace Image
{   
    const int Player[5][5] = {
        {1, 1, 1, 1, 1},
        {1, 0, 0, 0, 1},
        {1, 0, 0, 0, 1},
        {1, 0, 0, 0, 1},
        {1, 1, 1, 1, 1}
    };
    
    // Player sprite
    /*const int Player[5][5] = {
        {0, 0, 1, 1, 0},
        {0, 1, 0, 0, 1},
        {1, 0, 1, 1, 0},
        {0, 0, 1, 1, 0},
        {0, 1, 0, 0, 1}
    };*/
}

namespace Border
{
    const int DotsColumn[48][3] = {
{0,0,0},
{0,1,0},
{0,0,0},
{1,1,1},
{1,0,1},
{1,1,1},
{0,0,0},
{0,1,0},
{0,0,0},
{1,1,1},
{1,0,1},
{1,1,1},
{0,0,0},
{0,1,0},
{0,0,0},
{1,1,1},
{1,0,1},
{1,1,1},
{0,0,0},
{0,1,0},
{0,0,0},
{1,1,1},
{1,0,1},
{1,1,1},
{0,0,0},
{0,1,0},
{0,0,0},
{1,1,1},
{1,0,1},
{1,1,1},
{0,0,0},
{0,1,0},
{0,0,0},
{1,1,1},
{1,0,1},
{1,1,1},
{0,0,0},
{0,1,0},
{0,0,0},
{1,1,1},
{1,0,1},
{1,1,1},
{0,0,0},
{0,1,0},
{0,0,0},
{1,1,1},
{1,0,1},
{1,1,1}
};

    
    
    
    
}




#endif