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

Moved Barrier.cs into Object folder

This commit is contained in:
Rich Dunne 2020-08-31 06:36:21 -06:00
parent 24b3eae6a7
commit a09bd08e7a
2 changed files with 40 additions and 1 deletions

View file

@ -0,0 +1,39 @@
using System;
using Rage;
namespace SceneManager
{
class Barrier
{
private Rage.Object _barrier { get; set; }
private Vector3 _barrierPosition { get; set; }
private float _barrierRotation { get; set; }
public Barrier(Rage.Object barrier, Vector3 barrierPosition, float barrierRotation)
{
_barrier = barrier;
_barrierPosition = barrierPosition;
_barrierRotation = barrierRotation;
}
public Rage.Object GetBarrier()
{
return _barrier;
}
public Vector3 GetPosition()
{
return _barrierPosition;
}
public float GetRotation()
{
return _barrierRotation;
}
internal object DistanceTo(Ped character)
{
throw new NotImplementedException();
}
}
}

View file

@ -51,7 +51,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="AITasking.cs" />
<Compile Include="Barrier.cs" />
<Compile Include="Object Classes\Barrier.cs" />
<Compile Include="DebugGraphics.cs" />
<Compile Include="Hints.cs" />
<Compile Include="Menus\BarrierMenu.cs" />