2021-06-29 05:28:17 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "framework.h"
|
|
|
|
|
2021-07-01 19:25:44 +01:00
|
|
|
namespace sol {
|
|
|
|
class state;
|
|
|
|
}
|
|
|
|
|
2021-06-29 05:28:17 +02:00
|
|
|
class GameScriptRotation {
|
|
|
|
private:
|
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
int z;
|
2021-07-01 19:25:44 +01:00
|
|
|
int ConvertRotation(int a);
|
2021-06-29 05:28:17 +02:00
|
|
|
|
|
|
|
public:
|
|
|
|
GameScriptRotation(int x, int y, int z);
|
2021-07-01 19:25:44 +01:00
|
|
|
static void Register(sol::state*);
|
2021-06-29 05:28:17 +02:00
|
|
|
|
2021-06-30 14:08:46 +01:00
|
|
|
int GetX() const;
|
2021-06-29 05:28:17 +02:00
|
|
|
void SetX(int x);
|
2021-06-30 14:08:46 +01:00
|
|
|
int GetY() const;
|
2021-06-29 05:28:17 +02:00
|
|
|
void SetY(int y);
|
2021-06-30 14:08:46 +01:00
|
|
|
int GetZ() const;
|
2021-06-29 05:28:17 +02:00
|
|
|
void SetZ(int z);
|
|
|
|
};
|