mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 23:50:29 +01:00
Added Model property and set all properties to get only
This commit is contained in:
parent
5fe643ea42
commit
4b4f596024
1 changed files with 5 additions and 3 deletions
|
|
@ -5,13 +5,15 @@ namespace SceneManager
|
||||||
{
|
{
|
||||||
class Barrier
|
class Barrier
|
||||||
{
|
{
|
||||||
internal Rage.Object Object { get; set; }
|
internal Rage.Object Object { get; }
|
||||||
internal Vector3 Position { get; set; }
|
internal Model @Model{ get; }
|
||||||
internal float Rotation { get; set; }
|
internal Vector3 Position { get; }
|
||||||
|
internal float Rotation { get; }
|
||||||
|
|
||||||
internal Barrier(Rage.Object barrier, Vector3 barrierPosition, float barrierRotation)
|
internal Barrier(Rage.Object barrier, Vector3 barrierPosition, float barrierRotation)
|
||||||
{
|
{
|
||||||
Object = barrier;
|
Object = barrier;
|
||||||
|
@Model = barrier.Model;
|
||||||
Position = barrierPosition;
|
Position = barrierPosition;
|
||||||
Rotation = barrierRotation;
|
Rotation = barrierRotation;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue