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

Afficher le fichier Open project: cjshmyr/OpenRA

Méthodes publiques

Свойство Type Description
Animation OpenRA.Graphics.AnimationWithOffset
IsPlayerPalette bool
Palette string

Méthodes publiques

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

Method Details

AnimationWrapper() public méthode

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

CachePalette() public méthode

public CachePalette ( WorldRenderer wr, Player owner ) : void
wr OpenRA.Graphics.WorldRenderer
owner Player
Résultat void

OwnerChanged() public méthode

public OwnerChanged ( ) : void
Résultat void

Property Details

Animation public_oe property

public AnimationWithOffset,OpenRA.Graphics Animation
Résultat OpenRA.Graphics.AnimationWithOffset

IsPlayerPalette public_oe property

public bool IsPlayerPalette
Résultat bool

Palette public_oe property

public string Palette
Résultat string