Class Skinable_Sprite
- Namespace
- CustomKnight
- Assembly
- CustomKnight.dll
The abstract Class that represents a Skinable
that uses a Sprite
public abstract class Skinable_Sprite : Skinable
- Inheritance
-
Skinable_Sprite
- Derived
- Inherited Members
Constructors
Skinable_Sprite(string)
Ctor
public Skinable_Sprite(string name)
Parameters
name
string
Methods
ApplySprite(Sprite)
An abstract Method that Applies a Sprite to this Skinable
public abstract void ApplySprite(Sprite sprite)
Parameters
sprite
Sprite
ApplyTexture(Texture2D)
Applies a texture
public override void ApplyTexture(Texture2D tex)
Parameters
tex
Texture2D
Reset()
Used for Resetting the skin to default texture
public override void Reset()