Class SingularityBomb
- Namespace
- MoreSlugcats
- Assembly
- Assembly-CSharp.dll
public class SingularityBomb : Weapon, IDrawable, SharedPhysics.IProjectileTracer, IOwnMycelia
- Inheritance
-
SingularityBomb
- Implements
-
- Inherited Members
-
Constructors
SingularityBomb(AbstractPhysicalObject, World)
public SingularityBomb(AbstractPhysicalObject abstractPhysicalObject, World world)
Parameters
abstractPhysicalObject AbstractPhysicalObject
world World
Fields
activateLightning
public LightningMachine activateLightning
Field Value
- LightningMachine
activateSingularity
public bool activateSingularity
Field Value
- bool
activateSucktion
public bool activateSucktion
Field Value
- bool
animate
Field Value
- bool
connections
public Mycelium[] connections
Field Value
- Mycelium[]
counter
Field Value
- float
directionsPower
public float[,] directionsPower
Field Value
- float[,]
explodeColor
public Color explodeColor
Field Value
- Color
floatLocation
public Vector2 floatLocation
Field Value
- Vector2
holoEnd
Field Value
- float
holoFade
Field Value
- float
holoShape
public NSHSwarmer.Shape holoShape
Field Value
- NSHSwarmer.Shape
holoStart
Field Value
- float
holoTime
Field Value
- float
ignited
Field Value
- bool
moveUp
Field Value
- float
neuronSystem
public CoralNeuronSystem neuronSystem
Field Value
- CoralNeuronSystem
rad
Field Value
- float
rotpos1
Field Value
- Vector2
rotpos2
Field Value
- Vector2
scareObj
public FirecrackerPlant.ScareObject scareObj
Field Value
- FirecrackerPlant.ScareObject
scareOracle
public Oracle scareOracle
Field Value
- Oracle
singularityX
public float singularityX
Field Value
- float
zeroMode
Field Value
- bool
Properties
OwnerRoom
public Room OwnerRoom { get; }
Property Value
- Room
Methods
AddToContainer(SpriteLeaser, RoomCamera, FContainer)
public override void AddToContainer(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, FContainer newContatiner)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
newContatiner FContainer
ApplyPalette(SpriteLeaser, RoomCamera, RoomPalette)
public override void ApplyPalette(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, RoomPalette palette)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
palette RoomPalette
ConnectionPos(int, float)
public Vector2 ConnectionPos(int index, float timeStacker)
Parameters
index int
timeStacker float
Returns
- Vector2
CreateFear()
DrawSprites(SpriteLeaser, RoomCamera, float, Vector2)
public override void DrawSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, float timeStacker, Vector2 camPos)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
timeStacker float
camPos Vector2
Explode()
FirstLinkCoralSystem(CoralNeuronSystem)
public void FirstLinkCoralSystem(CoralNeuronSystem system)
Parameters
system CoralNeuronSystem
HitByWeapon(Weapon)
public override void HitByWeapon(Weapon weapon)
Parameters
weapon Weapon
HitSomething(CollisionResult, bool)
public override bool HitSomething(SharedPhysics.CollisionResult result, bool eu)
Parameters
result SharedPhysics.CollisionResult
eu bool
Returns
- bool
InitiateSprites(SpriteLeaser, RoomCamera)
public override void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
NewRoom(Room)
public override void NewRoom(Room newRoom)
Parameters
newRoom Room
PickedUp(Creature)
public override void PickedUp(Creature upPicker)
Parameters
upPicker Creature
ResetDir(int)
public Vector2 ResetDir(int index)
Parameters
index int
Returns
- Vector2
ResetHoloDisplayTime()
public void ResetHoloDisplayTime()
TerrainImpact(int, IntVector2, float, bool)
public override void TerrainImpact(int chunk, IntVector2 direction, float speed, bool firstContact)
Parameters
chunk int
direction IntVector2
speed float
firstContact bool
Thrown(Creature, Vector2, Vector2?, IntVector2, float, bool)
public override void Thrown(Creature thrownBy, Vector2 thrownPos, Vector2? firstFrameTraceFromPos, IntVector2 throwDir, float frc, bool eu)
Parameters
thrownBy Creature
thrownPos Vector2
firstFrameTraceFromPos Vector2?
throwDir IntVector2
frc float
eu bool
Update(bool)
public override void Update(bool eu)
Parameters
eu bool
UpdateColor(SpriteLeaser, Color)
public void UpdateColor(RoomCamera.SpriteLeaser sLeaser, Color col)
Parameters
sLeaser RoomCamera.SpriteLeaser
col Color
UpdateCoralNeuronSystem()
public void UpdateCoralNeuronSystem()