Style Slasher
A dressup combat roguelike created by Scrungle Studios for the 2025 Swinburne Capstone project.
Slasher.Entity.EntityManager Class Reference

Singleton responsible for handling factors relating to all entities. More...

Inheritance diagram for Slasher.Entity.EntityManager:
Inheritance graph
Collaboration diagram for Slasher.Entity.EntityManager:
Collaboration graph

Static Public Member Functions

static ReadOnlyCollection< BaseEntityGetAllEntities ()
 
static void AddEntity (BaseEntity entity)
 
static void RemoveEntity (BaseEntity entity)
 

Properties

static EntityManager Instance [get, private set]
 

Private Member Functions

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

Static Private Attributes

static EntityManager instance
 
static List< BaseEntityentities = new()
 

Detailed Description

Singleton responsible for handling factors relating to all entities.

Member Function Documentation

◆ AddEntity()

static void Slasher.Entity.EntityManager.AddEntity ( BaseEntity entity)
static

◆ Awake()

void Slasher.Entity.EntityManager.Awake ( )
private

◆ GetAllEntities()

static ReadOnlyCollection< BaseEntity > Slasher.Entity.EntityManager.GetAllEntities ( )
static

◆ LateUpdate()

void Slasher.Entity.EntityManager.LateUpdate ( )
private

◆ OnDisable()

void Slasher.Entity.EntityManager.OnDisable ( )
private

◆ OnEnable()

void Slasher.Entity.EntityManager.OnEnable ( )
private

◆ RemoveEntity()

static void Slasher.Entity.EntityManager.RemoveEntity ( BaseEntity entity)
static

◆ Start()

void Slasher.Entity.EntityManager.Start ( )
private

◆ Update()

void Slasher.Entity.EntityManager.Update ( )
private

Member Data Documentation

◆ entities

List<BaseEntity> Slasher.Entity.EntityManager.entities = new()
staticprivate

◆ instance

EntityManager Slasher.Entity.EntityManager.instance
staticprivate

Property Documentation

◆ Instance

EntityManager Slasher.Entity.EntityManager.Instance
staticgetprivate set

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