C# Class SadConsole.Game.Animations

Helpers related to Consoles.AnimatedTextSurface animations.
Mostra file Open project: Thraka/SadConsole

Public Methods

Method Description
CreateStatic ( int width, int height, int frames, double blankChance ) : Consoles.AnimatedTextSurface

Creates an animated surface that looks like static.

Method Details

CreateStatic() public static method

Creates an animated surface that looks like static.
public static CreateStatic ( int width, int height, int frames, double blankChance ) : Consoles.AnimatedTextSurface
width int The width of the surface.
height int The height of the surface.
frames int How many frames the animation should have.
blankChance double Chance a character will be blank. Characters are between index 48-158. Chance is evaluated versus .
return Consoles.AnimatedTextSurface