Class PlayerGraphics.PlayerObjectLooker
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class PlayerGraphics.PlayerObjectLooker
- Inheritance
-
PlayerGraphics.PlayerObjectLooker
- Inherited Members
-
Constructors
PlayerObjectLooker(PlayerGraphics)
public PlayerObjectLooker(PlayerGraphics owner)
Parameters
owner PlayerGraphics
Fields
currentMostInteresting
public PhysicalObject currentMostInteresting
Field Value
- PhysicalObject
lookAtPoint
public Vector2? lookAtPoint
Field Value
- Vector2?
lookAtPointInterest
public float lookAtPointInterest
Field Value
- float
owner
public PlayerGraphics owner
Field Value
- PlayerGraphics
timeLookingAtThis
public int timeLookingAtThis
Field Value
- int
Properties
looking
public bool looking { get; }
Property Value
- bool
mostInterestingLookPoint
public Vector2 mostInterestingLookPoint { get; }
Property Value
- Vector2
Methods
HowInterestingIsThisObject(PhysicalObject)
public float HowInterestingIsThisObject(PhysicalObject obj)
Parameters
obj PhysicalObject
Returns
- float
LookAtNothing()
public void LookAtNothing()
LookAtObject(PhysicalObject)
public void LookAtObject(PhysicalObject obj)
Parameters
obj PhysicalObject
LookAtPoint(Vector2, float)
public void LookAtPoint(Vector2 point, float interest)
Parameters
point Vector2
interest float
Update()