Class GravityDisruptor
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class GravityDisruptor : UpdatableAndDeletable, IDrawable, INotifyWhenRoomIsReady
- Inheritance
-
GravityDisruptor
- Implements
-
- Inherited Members
-
Constructors
GravityDisruptor(PlacedObject, Room)
public GravityDisruptor(PlacedObject placedObject, Room room)
Parameters
placedObject PlacedObject
room Room
Fields
debugMode
Field Value
- int
depth
Field Value
- int
dirFac
Field Value
- float
dirFacGetTo
Field Value
- float
getToPointDir
public Vector2 getToPointDir
Field Value
- Vector2
lastPos
Field Value
- Vector2
lastPower
Field Value
- float
lights
Field Value
- float[,]
mySpecks
public List<GravityDisruptor.DisruptorSpeck> mySpecks
Field Value
- List<GravityDisruptor.DisruptorSpeck>
placedObject
public PlacedObject placedObject
Field Value
- PlacedObject
pointDir
Field Value
- Vector2
pos
Field Value
- Vector2
power
Field Value
- float
roomSpecks
public List<GenericZeroGSpeck> roomSpecks
Field Value
- List<GenericZeroGSpeck>
Methods
AIMapReady()
AddToContainer(SpriteLeaser, RoomCamera, FContainer)
public void AddToContainer(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, FContainer newContatiner)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
newContatiner FContainer
ApplyPalette(SpriteLeaser, RoomCamera, RoomPalette)
public void ApplyPalette(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, RoomPalette palette)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
palette RoomPalette
DrawSprites(SpriteLeaser, RoomCamera, float, Vector2)
public void DrawSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, float timeStacker, Vector2 camPos)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
timeStacker float
camPos Vector2
InitiateSprites(SpriteLeaser, RoomCamera)
public void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
ShortcutsReady()
public void ShortcutsReady()
Update(bool)
public override void Update(bool eu)
Parameters
eu bool