mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-29 03:33:48 +00:00
9414be864a
Started working on a tiny input/ActionMapper refactor, then everything fell apart and i ended up doing this. I'm sorry. Pretty much untested because input mapping is broken right now, will fix that next.
28 lines
404 B
C++
28 lines
404 B
C++
#ifndef RECIPEMENUENTRY_H
|
|
#define RECIPEMENUENTRY_H
|
|
|
|
#include "RenderObject.h"
|
|
|
|
class Recipe;
|
|
class Quad;
|
|
class BitmapText;
|
|
class IngredientData;
|
|
|
|
class RecipeMenuEntry : public RenderObject
|
|
{
|
|
public:
|
|
RecipeMenuEntry(Recipe *recipe);
|
|
protected:
|
|
void onUpdate(float dt);
|
|
Quad *result, *ing[3];
|
|
Quad *glow;
|
|
BitmapText *description;
|
|
IngredientData *data;
|
|
|
|
Recipe *recipe;
|
|
|
|
int selected;
|
|
};
|
|
|
|
|
|
#endif
|