R-Type
R-Type project
Vector2Script.hpp
1 #pragma once
2 
3 #include "MapScript/Lua.hpp"
4 
5 namespace RType::Script {
6  class Vector2 {
7  public:
8  float x = 0;
9  float y = 0;
10 
11  Vector2() = default;
12  ~Vector2() = default;
13 
14  void dump() const;
15 
16  static void initScript(lua_State *L);
17  static int __create(lua_State *L);
18  static int __destroy(lua_State *L);
19  static int __index(lua_State *L);
20  static int __newIndex(lua_State *L);
21  static int __dump(lua_State *L);
22  };
23 } // namespace RType::Script
RType::Script::Vector2
Definition: Vector2Script.hpp:6