SF Tool Documentation
Search Results for

    Show / Hide Table of Contents

    Class CharacterState

    Keeps track of all the characters current states for MovementState, CharacterStatus, and StatusEffect.

    It also has callbacks that can registered to when any form of state change for the character has happened.

    Inheritance
    System.Object
    CharacterState
    Namespace: SF.Characters
    Assembly: cs.temp.dll.dll
    Syntax
    public class CharacterState

    Fields

    OnDeathHandler

    Declaration
    public Action OnDeathHandler
    Field Value
    Type Description
    Action

    OnMovementStateChanged

    Declaration
    public Action OnMovementStateChanged
    Field Value
    Type Description
    Action

    StatusEffectChanged

    Declaration
    public Action<StatusEffect> StatusEffectChanged
    Field Value
    Type Description
    Action<StatusEffect>

    Properties

    CharacterStatus

    Declaration
    public CharacterStatus CharacterStatus { get; set; }
    Property Value
    Type Description
    CharacterStatus

    CurrentMovementState

    Declaration
    public MovementState CurrentMovementState { get; set; }
    Property Value
    Type Description
    MovementState

    StatusEffect

    Declaration
    public StatusEffect StatusEffect { get; set; }
    Property Value
    Type Description
    StatusEffect

    Methods

    RestoreMovementState()

    Declaration
    public void RestoreMovementState()
    In This Article
    Back to top Generated by DocFX