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
Field Value
- float
antAngOff
Field Value
- float
baseXScales
public float[] baseXScales
Field Value
- float[]
baseYScales
public float[] baseYScales
Field Value
- float[]
c
Field Value
- Color
colorAlpha
Field Value
- float
effectColor
Field Value
- int
environmentalLight
public bool environmentalLight
Field Value
- bool
f
Field Value
- bool
fadeWithSun
Field Value
- bool
flicker
Field Value
- int
flickerWait
Field Value
- int
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
Field Value
- float
lastPos
Field Value
- Vector2
lastRad
Field Value
- float
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
Field Value
- Vector2
rad
Field Value
- float
setAlpha
Field Value
- float?
setPos
Field Value
- Vector2?
setRad
Field Value
- float?
shaderDirty
Field Value
- bool
sin
Field Value
- float
sin2
Field Value
- float
sin3
Field Value
- float
stayAlive
Field Value
- bool
tiedToObject
public Creature tiedToObject
Field Value
- Creature
turnOnTimer
Field Value
- int
updateTimer
Field Value
- int
vel
Field Value
- float
waterSurfaceLevel
public float waterSurfaceLevel
Field Value
- float
xoffs
Field Value
- 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
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
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