The open source repository for the action RPG game in development by Sig Productions titled 'Adventures in Lestoria'! https://forums.lestoria.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AdventuresInLestoria/Crawler/MenuButton.h

17 lines
294 B

#pragma once
#include "olcPixelGameEngine.h"
#include <functional>
class Menu;
class Crawler;
class MenuButton{
Menu*menuDest;
vf2d size;
std::string label;
Decal*icon;
std::function<void()>onClick;
void Update(float fElapsedTime);
void Draw(Crawler*game);
};