mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 23:50:29 +01:00
Moved Barrier.cs into Objects folder
This commit is contained in:
parent
a09bd08e7a
commit
c185bed99f
1 changed files with 0 additions and 39 deletions
|
|
@ -1,39 +0,0 @@
|
||||||
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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue