C# Class OpenRA.Mods.Common.Traits.RenderSprites.AnimationWrapper

显示文件 Open project: cjshmyr/OpenRA

Public Properties

Property Type Description
Animation OpenRA.Graphics.AnimationWithOffset
IsPlayerPalette bool
Palette string

Public Methods

Method Description
AnimationWrapper ( AnimationWithOffset animation, string palette, bool isPlayerPalette ) : System
CachePalette ( WorldRenderer wr, Player owner ) : void
OwnerChanged ( ) : void

Method Details

AnimationWrapper() public method

public AnimationWrapper ( AnimationWithOffset animation, string palette, bool isPlayerPalette ) : System
animation OpenRA.Graphics.AnimationWithOffset
palette string
isPlayerPalette bool
return System

CachePalette() public method

public CachePalette ( WorldRenderer wr, Player owner ) : void
wr OpenRA.Graphics.WorldRenderer
owner Player
return void

OwnerChanged() public method

public OwnerChanged ( ) : void
return void

Property Details

Animation public_oe property

public AnimationWithOffset,OpenRA.Graphics Animation
return OpenRA.Graphics.AnimationWithOffset

IsPlayerPalette public_oe property

public bool IsPlayerPalette
return bool

Palette public_oe property

public string Palette
return string