mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 08:47:58 +03:00
Make getters of GameScriptPosition and GameScriptRotation const.
This commit is contained in:
parent
d225041048
commit
461f7cd1aa
4 changed files with 12 additions and 12 deletions
|
@ -8,7 +8,7 @@ GameScriptRotation::GameScriptRotation(int x, int y, int z)
|
|||
SetZ(z);
|
||||
}
|
||||
|
||||
int GameScriptRotation::GetX()
|
||||
int GameScriptRotation::GetX() const
|
||||
{
|
||||
return x;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ void GameScriptRotation::SetX(int x)
|
|||
this->x = std::clamp(x, -360, 360);
|
||||
}
|
||||
|
||||
int GameScriptRotation::GetY()
|
||||
int GameScriptRotation::GetY() const
|
||||
{
|
||||
return y;
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ void GameScriptRotation::SetY(int y)
|
|||
this->y = std::clamp(y, -360, 360);
|
||||
}
|
||||
|
||||
int GameScriptRotation::GetZ()
|
||||
int GameScriptRotation::GetZ() const
|
||||
{
|
||||
return z;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue