Table of Contents

Class Skinable_Hook

Namespace
CustomKnight
Assembly
CustomKnight.dll

The abstract Class that represents a Skinable that uses a Sprite and requires a hook

public abstract class Skinable_Hook : Skinable_Sprite
Inheritance
Skinable_Hook
Inherited Members

Constructors

Skinable_Hook(string)

Ctor

public Skinable_Hook(string name)

Parameters

name string

Name of the skinable

Fields

sprite

The sprite to apply in your hook

public Sprite sprite

Field Value

Sprite

Methods

ApplySprite(Sprite)

Function that can set the sprite to be applied in the hook

public override void ApplySprite(Sprite newSprite)

Parameters

newSprite Sprite

Hook()

Function you should use to subscribe to your hooks

public abstract void Hook()

UnHook()

Function you should use to cleanup your hooks

public abstract void UnHook()