Style Slasher
A dressup combat roguelike created by Scrungle Studios for the 2025 Swinburne Capstone project.
Slasher.Clothing.ClothingBrain Class Reference
Inheritance diagram for Slasher.Clothing.ClothingBrain:
Inheritance graph
Collaboration diagram for Slasher.Clothing.ClothingBrain:
Collaboration graph

Public Member Functions

void AddClothing (Clothing clothing)
 
void RemoveClothing (Clothing clothing)
 

Properties

Dictionary< ClothingTag, int > TagTotals [get]
 

Events

Action< string, bool > OnClothingVisualChange = (_, _) => { }
 
Action OnClothingChange [add, remove]
 

Private Member Functions

void Awake ()
 
void OnEnable ()
 
void OnDisable ()
 
void Start ()
 
void Update ()
 

Private Attributes

Action onClothingChange
 
List< ClothingequippedClothing = new()
 

Additional Inherited Members

- Public Attributes inherited from Slasher.Entity.BaseBrain
BaseEntity Entity
 The entity this brain influences.
 

Member Function Documentation

◆ AddClothing()

void Slasher.Clothing.ClothingBrain.AddClothing ( Clothing clothing)
Here is the call graph for this function:

◆ Awake()

void Slasher.Clothing.ClothingBrain.Awake ( )
private

◆ OnDisable()

void Slasher.Clothing.ClothingBrain.OnDisable ( )
private

◆ OnEnable()

void Slasher.Clothing.ClothingBrain.OnEnable ( )
private

◆ RemoveClothing()

void Slasher.Clothing.ClothingBrain.RemoveClothing ( Clothing clothing)

◆ Start()

void Slasher.Clothing.ClothingBrain.Start ( )
private

◆ Update()

void Slasher.Clothing.ClothingBrain.Update ( )
private

Member Data Documentation

◆ equippedClothing

List<Clothing> Slasher.Clothing.ClothingBrain.equippedClothing = new()
private

◆ onClothingChange

Action Slasher.Clothing.ClothingBrain.onClothingChange
private

Property Documentation

◆ TagTotals

Dictionary<ClothingTag, int> Slasher.Clothing.ClothingBrain.TagTotals
get

Event Documentation

◆ OnClothingChange

Action Slasher.Clothing.ClothingBrain.OnClothingChange
addremove

◆ OnClothingVisualChange

Action<string, bool> Slasher.Clothing.ClothingBrain.OnClothingVisualChange = (_, _) => { }

The documentation for this class was generated from the following file: