Platform game written for the GHI/OutrageousCircuits RETRO game device. Navigate the caves collecting all the pickups and avoiding the creatures and haunted mine carts that patrol the caves. Oh and remember to watch out for the poisonous plants... This game demonstrates the ability to have multiple animated sprites where the sprites can overlap the background environment. See how the player moves past the fence and climbs the wall in the 3rd screen.

Dependencies:   mbed

RetroGameEngine/Point.h

Committer:
taylorza
Date:
2015-02-16
Revision:
14:b4884a31069e
Parent:
11:9ae9a88a1da8

File content as of revision 14:b4884a31069e:

#ifndef __POINT_H__
#define __POINT_H__
struct Point
{
    uint8_t X;
    uint8_t Y;

    Point() :
        X(0),
        Y(0)
    {
    }
    
    Point(uint8_t x, uint8_t y) :
        X(x),
        Y(y)
    {        
    }
    
    inline bool operator==(const Point &rhs)
    {
        return X == rhs.X && Y == rhs.Y;
    }
    
    inline bool operator!=(const Point &rhs)
    {
        return !(*this == rhs);
    }
};
#endif //__POINT_H__