Newer
Older
Import / applications / HighwayDash / ports / Game / SelectorState.h
@John Ryland John Ryland on 22 Dec 2020 668 bytes import NUC files
#ifndef SELECTOR_STATE_H
#define SELECTOR_STATE_H


#include "BaseGameState.h"
#include "GameSim.h"


class SelectorState : public BaseGameState
{
public:
  void Enter(GameGraphics& graphics) override;
  //void Exit(GameGraphics& /*graphics*/) override;
  void Draw(GameGraphics& graphics) override;
  bool Update(GameUi::DrawItems &items, float a_elapsed) override;
  //bool TouchesChanged(int a_x, int a_y, TouchState ts) override;
  void GetScriptCallableFunctions(const struct luaL_Reg* &list, int &count) override;
private:
  // Mouse/Touch state
  bool   m_touchMoving;
  float  m_touchX, m_touchY;
//  int    m_editModel = 0;
};


#endif // SELECTOR_STATE_H