Class ShortcutHelper.ShortcutPusher
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class ShortcutHelper.ShortcutPusher
- Inheritance
-
ShortcutHelper.ShortcutPusher
- Inherited Members
-
Constructors
ShortcutPusher(Room, bool, IntVector2, IntVector2)
public ShortcutPusher(Room room, bool wrongHole, IntVector2 shortCutPos, IntVector2 shortcutDir)
Parameters
room Room
wrongHole bool
shortCutPos IntVector2
shortcutDir IntVector2
Fields
floor
Field Value
- bool
pushPos
Field Value
- Vector2
shortCutPos
public IntVector2 shortCutPos
Field Value
- IntVector2
shortcutDir
public IntVector2 shortcutDir
Field Value
- IntVector2
swell
Field Value
- float
swellUp
Field Value
- bool
validNeighbors
public List<ShortcutHelper.ShortcutPusher> validNeighbors
Field Value
- List<ShortcutHelper.ShortcutPusher>
wrongHole
Field Value
- bool
Methods
DirectTowardsNeighbor(Room, ShortcutPusher)
public void DirectTowardsNeighbor(Room room, ShortcutHelper.ShortcutPusher nb)
Parameters
room Room
nb ShortcutHelper.ShortcutPusher
LookForNeighbors(Room, ShortcutPusher)
public void LookForNeighbors(Room room, ShortcutHelper.ShortcutPusher potNeighbor)
Parameters
room Room
potNeighbor ShortcutHelper.ShortcutPusher
PushPlayerTowardsValidNeighbor(Player, float)
public void PushPlayerTowardsValidNeighbor(Player player, float pushFac)
Parameters
player Player
pushFac float