Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
commonbindings.h
1 #pragma once
2 
3 #include <string>
4 
5 #include <glm/glm.hpp>
6 
7 #include "bindings.h"
8 
9 
10 class CommonBindings : public Bindings {
11 public:
13 
14 
15 protected:
16  virtual void bind() override;
17 
18  bool apiValid(apikey key);
19  int apiShowMessage(const std::string& string);
20  int apiPlayVoice(const std::string& soundFile);
21 
22  int apiSetEventActive(apikey eventPoll, bool active);
23 
24  apikey apiCreateSingleShotTimer(const std::string& callback, float delta);
25  apikey apiCreateLoopingTimer(const std::string& callback, float delta);
26 };
27 
Definition: gameplayscript.h:17
Definition: commonbindings.h:10
Definition: bindings.h:13