C# Class OpenRA.Mods.Common.Effects.FloatingText

Inheritance: IEffect
Exibir arquivo Open project: pchote/OpenRA

Public Methods

Method Description
FloatingText ( WPos pos, Color color, string text, int duration ) : System
FormatCashTick ( int cashAmount ) : string
Render ( WorldRenderer wr ) : IEnumerable
RenderAboveShroud ( WorldRenderer wr ) : IEnumerable
Tick ( World world ) : void

Method Details

FloatingText() public method

public FloatingText ( WPos pos, Color color, string text, int duration ) : System
pos WPos
color Color
text string
duration int
return System

FormatCashTick() public static method

public static FormatCashTick ( int cashAmount ) : string
cashAmount int
return string

Render() public method

public Render ( WorldRenderer wr ) : IEnumerable
wr OpenRA.Graphics.WorldRenderer
return IEnumerable

RenderAboveShroud() public method

public RenderAboveShroud ( WorldRenderer wr ) : IEnumerable
wr OpenRA.Graphics.WorldRenderer
return IEnumerable

Tick() public method

public Tick ( World world ) : void
world World
return void