EffectsServices
Namespace: Murder.Services
Assembly: Murder.dll
public static class EffectsServices
⭐ Methods
ApplyHighlight(World, Entity, HighlightSpriteComponent)
public void ApplyHighlight(World world, Entity e, HighlightSpriteComponent highlight)
Parameters
world
World
e
Entity
highlight
HighlightSpriteComponent
FadeIn(World, float, Color, float)
public void FadeIn(World world, float time, Color color, float sorting)
Add an entity which will apply a "fade-in" effect. Darkening the screen to black.
Parameters
world
World
time
float
color
Color
sorting
float
FadeOut(World, float, Color, float, int)
public void FadeOut(World world, float duration, Color color, float delay, int bufferDrawFrames)
Add an entity which will apply a "fade-out" effect. Clearing the screen.
Parameters
world
World
duration
float
color
Color
delay
float
bufferDrawFrames
int
PlayAnimationAt(World, Portrait, Vector2)
public void PlayAnimationAt(World world, Portrait blastAnimation, Vector2 position)
Parameters
world
World
blastAnimation
Portrait
position
Vector2
RemoveHighlight(Entity)
public void RemoveHighlight(Entity e)
Parameters
e
Entity
⚡