1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 15:40:29 +01:00

Removed unnecessary code

This commit is contained in:
Rich Dunne 2020-09-14 12:13:01 -06:00
parent 66cfe95557
commit eb52aee317

View file

@ -5,19 +5,15 @@ namespace SceneManager
{ {
class Barrier class Barrier
{ {
private Rage.Object _barrier { get; set; } public Rage.Object Object { get; set; }
private Vector3 _barrierPosition { get; set; } public Vector3 Position { get; set; }
private float _barrierRotation { get; set; } public float Rotation { get; set; }
public Rage.Object Object { get { return _barrier; } set { _barrier = value; } }
public Vector3 Position { get { return _barrierPosition; } set { _barrierPosition = value; } }
public float Rotation { get { return _barrierRotation; } set { _barrierRotation = value; } }
public Barrier(Rage.Object barrier, Vector3 barrierPosition, float barrierRotation) public Barrier(Rage.Object barrier, Vector3 barrierPosition, float barrierRotation)
{ {
_barrier = barrier; Object = barrier;
_barrierPosition = barrierPosition; Position = barrierPosition;
_barrierRotation = barrierRotation; Rotation = barrierRotation;
} }
} }
} }