Table of Contents

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

public int debugMode

Field Value

int

depth

public int depth

Field Value

int

dirFac

public float dirFac

Field Value

float

dirFacGetTo

public float dirFacGetTo

Field Value

float

getToPointDir

public Vector2 getToPointDir

Field Value

Vector2

lastPos

public Vector2 lastPos

Field Value

Vector2

lastPower

public float lastPower

Field Value

float

lights

public float[,] lights

Field Value

float[,]

mySpecks

public List<GravityDisruptor.DisruptorSpeck> mySpecks

Field Value

List<GravityDisruptor.DisruptorSpeck>

placedObject

public PlacedObject placedObject

Field Value

PlacedObject

pointDir

public Vector2 pointDir

Field Value

Vector2

pos

public Vector2 pos

Field Value

Vector2

power

public float power

Field Value

float

roomSpecks

public List<GenericZeroGSpeck> roomSpecks

Field Value

List<GenericZeroGSpeck>

Methods

AIMapReady()

public void AIMapReady()
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