mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
unit orders aren't invoked if pressing a button
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#ifndef ACTIVE_STATE_BUTTON_H
|
||||
#define ACTIVE_STATE_BUTTON_H
|
||||
|
||||
#include <button.h>
|
||||
|
||||
namespace battleship{
|
||||
class ActiveStateButton : public vb01Gui::Button{
|
||||
public:
|
||||
ActiveStateButton(vb01::Vector2, vb01::Vector2, std::string, int = -1, std::string = "");
|
||||
void onClick();
|
||||
private:
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user