mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-06 19:01:06 +03:00
Add initial documentation comments for GameScriptPosition and GameScriptRotation.
This commit is contained in:
parent
d08585a9e0
commit
c6d680fa07
2 changed files with 47 additions and 3 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
#include "framework.h"
|
||||
|
||||
/***
|
||||
Represents a position in the game world.
|
||||
@classmod Position
|
||||
@pragma nostrip
|
||||
*/
|
||||
namespace sol {
|
||||
class state;
|
||||
}
|
||||
|
@ -9,10 +14,25 @@ struct PHD_3DPOS;
|
|||
|
||||
class GameScriptPosition {
|
||||
public:
|
||||
/// (int) x coordinate
|
||||
//@mem X
|
||||
|
||||
/// (int) y coordinate
|
||||
//@mem Y
|
||||
|
||||
/// (int) z coordinate
|
||||
//@mem Z
|
||||
int x;
|
||||
int y;
|
||||
int z;
|
||||
|
||||
/***
|
||||
@int X x coordinate
|
||||
@int Y y coordinate
|
||||
@int Z z coordinate
|
||||
@return A Position object.
|
||||
@function Position.new
|
||||
*/
|
||||
GameScriptPosition(int x, int y, int z);
|
||||
GameScriptPosition(PHD_3DPOS const& pos);
|
||||
void StoreInPHDPos(PHD_3DPOS& pos) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue