mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Moved Barrier.cs into Object folder
This commit is contained in:
parent
24b3eae6a7
commit
a09bd08e7a
2 changed files with 40 additions and 1 deletions
39
SceneManager/Object Classes/Barrier.cs
Normal file
39
SceneManager/Object Classes/Barrier.cs
Normal 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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AITasking.cs" />
|
<Compile Include="AITasking.cs" />
|
||||||
<Compile Include="Barrier.cs" />
|
<Compile Include="Object Classes\Barrier.cs" />
|
||||||
<Compile Include="DebugGraphics.cs" />
|
<Compile Include="DebugGraphics.cs" />
|
||||||
<Compile Include="Hints.cs" />
|
<Compile Include="Hints.cs" />
|
||||||
<Compile Include="Menus\BarrierMenu.cs" />
|
<Compile Include="Menus\BarrierMenu.cs" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue