Table of Contents

Class AncientBot

Namespace
MoreSlugcats
Assembly
Assembly-CSharp.dll
public class AncientBot : UpdatableAndDeletable, IDrawable
Inheritance
AncientBot
Implements
Inherited Members

Constructors

AncientBot(Vector2, Color, Creature, bool)

public AncientBot(Vector2 initPos, Color color, Creature tiedToObject, bool online)

Parameters

initPos Vector2
color Color
tiedToObject Creature
online bool

Fields

affectedByPaletteDarkness

public float affectedByPaletteDarkness

Field Value

float

alpha

public float alpha

Field Value

float

antAngOff

public float antAngOff

Field Value

float

baseXScales

public float[] baseXScales

Field Value

float[]

baseYScales

public float[] baseYScales

Field Value

float[]

c

public Color c

Field Value

Color

colorAlpha

public float colorAlpha

Field Value

float

effectColor

public int effectColor

Field Value

int

environmentalLight

public bool environmentalLight

Field Value

bool

f

public bool f

Field Value

bool

fadeWithSun

public bool fadeWithSun

Field Value

bool

flicker

public int flicker

Field Value

int

flickerWait

public int flickerWait

Field Value

int

gDrawYOff

public float gDrawYOff

Field Value

float

gXScaleFactor

public float gXScaleFactor

Field Value

float

gYScaleFactor

public float gYScaleFactor

Field Value

float

hologram

public OverseerHologram hologram

Field Value

OverseerHologram

lastAlpha

public float lastAlpha

Field Value

float

lastPos

public Vector2 lastPos

Field Value

Vector2

lastRad

public float lastRad

Field Value

float

lightOn

public bool lightOn

Field Value

bool

lockTarget

public Vector2? lockTarget

Field Value

Vector2?

movePatternTimer

public int movePatternTimer

Field Value

int

movePointTarget

public Vector2 movePointTarget

Field Value

Vector2

movePointTimer

public int movePointTimer

Field Value

int

myAnimation

public AncientBot.Animation myAnimation

Field Value

AncientBot.Animation

myMovement

public AncientBot.FollowMode myMovement

Field Value

AncientBot.FollowMode

nextMovePatternChange

public int nextMovePatternChange

Field Value

int

nextMovePointChange

public int nextMovePointChange

Field Value

int

offlineFactor

public float offlineFactor

Field Value

float

pos

public Vector2 pos

Field Value

Vector2

rad

public float rad

Field Value

float

setAlpha

public float? setAlpha

Field Value

float?

setPos

public Vector2? setPos

Field Value

Vector2?

setRad

public float? setRad

Field Value

float?

shaderDirty

public bool shaderDirty

Field Value

bool

sin

public float sin

Field Value

float

sin2

public float sin2

Field Value

float

sin3

public float sin3

Field Value

float

stayAlive

public bool stayAlive

Field Value

bool

tiedToObject

public Creature tiedToObject

Field Value

Creature

turnOnTimer

public int turnOnTimer

Field Value

int

updateTimer

public int updateTimer

Field Value

int

vel

public float vel

Field Value

float

waterSurfaceLevel

public float waterSurfaceLevel

Field Value

float

xoffs

public float[] xoffs

Field Value

float[]

yoffs

public float[] yoffs

Field Value

float[]

Properties

AfterLightIndex

public int AfterLightIndex { get; }

Property Value

int

Alpha

public float Alpha { get; }

Property Value

float

BodyIndex

public int BodyIndex { get; }

Property Value

int

ElementName

public virtual string ElementName { get; }

Property Value

string

HeadIndex

public int HeadIndex { get; }

Property Value

int

LayerName

public virtual string LayerName { get; }

Property Value

string

LeftAntIndex

public int LeftAntIndex { get; }

Property Value

int

LightBaseIndex

public int LightBaseIndex { get; }

Property Value

int

LightIndex

public int LightIndex { get; }

Property Value

int

Lightness

public float Lightness { get; }

Property Value

float

Pos

public Vector2 Pos { get; }

Property Value

Vector2

Rad

public float Rad { get; }

Property Value

float

RightAntIndex

public int RightAntIndex { get; }

Property Value

int

TotalSprites

public int TotalSprites { get; }

Property Value

int

color

public Color color { get; set; }

Property Value

Color

flat

public bool flat { get; set; }

Property Value

bool

Methods

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

EffXOff(SpriteLeaser, int, float)

public float EffXOff(RoomCamera.SpriteLeaser sLeaser, int index, float sfactor)

Parameters

sLeaser RoomCamera.SpriteLeaser
index int
sfactor float

Returns

float

EffYOff(SpriteLeaser, int, float)

public float EffYOff(RoomCamera.SpriteLeaser sLeaser, int index, float sfactor)

Parameters

sLeaser RoomCamera.SpriteLeaser
index int
sfactor float

Returns

float

HardSetAlpha(float)

public void HardSetAlpha(float a)

Parameters

a float

HardSetPos(Vector2)

public void HardSetPos(Vector2 p)

Parameters

p Vector2

HardSetRad(float)

public void HardSetRad(float r)

Parameters

r float

InitiateSprites(SpriteLeaser, RoomCamera)

public void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera

ProcessAnimation()

public void ProcessAnimation()

ProcessMovement()

public void ProcessMovement()

Update(bool)

public override void Update(bool eu)

Parameters

eu bool