Initial publish

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

game/gameobject.h

Committer:
Noximilien
Date:
2019-03-27
Revision:
21:0eb394495b8a
Child:
26:676874c42883

File content as of revision 21:0eb394495b8a:

#ifndef GAMEOBJECT_H
#define GAMEOBJECT_H

#include "geometry.h"


class GameObject {
public:
    void spawn(Point spawn_pos) {
        pos = spawn_pos;
        active = true;
    }
    Point pos;
    bool active;
};

#endif