Table of Contents

Class Hazer

Namespace
Global
Assembly
Assembly-CSharp.dll
public class Hazer : Creature, IPlayerEdible
Inheritance
Hazer
Implements
Inherited Members

Constructors

Hazer(AbstractCreature, World)

public Hazer(AbstractCreature abstractCreature, World world)

Parameters

abstractCreature AbstractCreature
world World

Fields

bites

public int bites

Field Value

int

clds

public int clds

Field Value

int

floatHeight

public float floatHeight

Field Value

float

getToSprayDir

public Vector2 getToSprayDir

Field Value

Vector2

hasSprayed

public bool hasSprayed

Field Value

bool

hopDir

public int hopDir

Field Value

int

inkLeft

public float inkLeft

Field Value

float

lastAirTile

public IntVector2 lastAirTile

Field Value

IntVector2

moveCounter

public int moveCounter

Field Value

int

placedObj

public PlacedObject placedObj

Field Value

PlacedObject

smoke

public BlackHaze smoke

Field Value

BlackHaze

sprayDir

public Vector2 sprayDir

Field Value

Vector2

sprayStuckPos

public Vector2? sprayStuckPos

Field Value

Vector2?

spraying

public bool spraying

Field Value

bool

swallowed

public float swallowed

Field Value

float

swim

public float swim

Field Value

float

swimCycle

public float swimCycle

Field Value

float

swimDir

public Vector2 swimDir

Field Value

Vector2

tossed

public bool tossed

Field Value

bool

Properties

AutomaticPickUp

public bool AutomaticPickUp { get; }

Property Value

bool

BitesLeft

public int BitesLeft { get; }

Property Value

int

Edible

public bool Edible { get; }

Property Value

bool

FoodPoints

public int FoodPoints { get; }

Property Value

int

Methods

Act()

public void Act()

BitByPlayer(Grasp, bool)

public void BitByPlayer(Creature.Grasp grasp, bool eu)

Parameters

grasp Creature.Grasp
eu bool

ChunkInOrder(int)

public BodyChunk ChunkInOrder(int i)

Parameters

i int

Returns

BodyChunk

Collide(PhysicalObject, int, int)

public override void Collide(PhysicalObject otherObject, int myChunk, int otherChunk)

Parameters

otherObject PhysicalObject
myChunk int
otherChunk int

Die()

public override void Die()

InitiateGraphicsModule()

public override void InitiateGraphicsModule()

PlaceInRoom(Room)

public override void PlaceInRoom(Room placeRoom)

Parameters

placeRoom Room

SpitOutByPlayer(Color)

public void SpitOutByPlayer(Color playerCol)

Parameters

playerCol Color

SpitOutOfShortCut(IntVector2, Room, bool)

public override void SpitOutOfShortCut(IntVector2 pos, Room newRoom, bool spitOutAllSticks)

Parameters

pos IntVector2
newRoom Room
spitOutAllSticks bool

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

ThrowByPlayer()

public void ThrowByPlayer()

Update(bool)

public override void Update(bool eu)

Parameters

eu bool

Violence(BodyChunk, Vector2?, BodyChunk, Pos, DamageType, float, float)

public override void Violence(BodyChunk source, Vector2? directionAndMomentum, BodyChunk hitChunk, PhysicalObject.Appendage.Pos onAppendagePos, Creature.DamageType type, float damage, float stunBonus)

Parameters

source BodyChunk
directionAndMomentum Vector2?
hitChunk BodyChunk
onAppendagePos PhysicalObject.Appendage.Pos
type Creature.DamageType
damage float
stunBonus float