/*
 * blinkyBlocksBlockCode.h
 *
 *  Created on: 23 mars 2013
 *      Author: dom
 */

#ifndef BLINKYBLOCKSBLOCKCODE_H_
#define BLINKYBLOCKSBLOCKCODE_H_

#include "base/blockCode.h"
#include "robots/blinkyBlocks/blinkyBlocksBlock.h"
#include "comm/network.h"
#include "events/events.h"

namespace BlinkyBlocks {

class BlinkyBlocksBlock;

class BlinkyBlocksBlockCode : public BaseSimulator::BlockCode {
public:

    BlinkyBlocksBlockCode(BlinkyBlocksBlock *host);
    virtual ~BlinkyBlocksBlockCode() override;

    virtual void processLocalEvent(EventPtr pev) override {
        // Do not remove, used by sample blockcode
        BlockCode::processLocalEvent(pev);
    }
};

}

#endif /* BLINKYBLOCKSBLOCKCODE_H_ */
