Style Slasher
A dressup combat roguelike created by Scrungle Studios for the 2025 Swinburne Capstone project.
Slasher.Attack.BaseAttack Class Referenceabstract
Inheritance diagram for Slasher.Attack.BaseAttack:
Inheritance graph
Collaboration diagram for Slasher.Attack.BaseAttack:
Collaboration graph

Public Member Functions

ICollideWithCircle GetShape (Vector2 Position, Vector2 Facing)
 

Static Protected Attributes

const float CONSTANT_DEBUG_Y_OFFSET = 0.2f
 

Properties

float CooldownSeconds [get]
 

Private Member Functions

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

Private Attributes

float cooldownSeconds = 1
 The pre-defined number of seconds this attack must be on cooldown before it can be initiated again.
 

Member Function Documentation

◆ Awake()

void Slasher.Attack.BaseAttack.Awake ( )
private

◆ GetShape()

ICollideWithCircle Slasher.Attack.BaseAttack.GetShape ( Vector2 Position,
Vector2 Facing )
abstract

◆ LateUpdate()

void Slasher.Attack.BaseAttack.LateUpdate ( )
private

◆ OnDisable()

void Slasher.Attack.BaseAttack.OnDisable ( )
private

◆ OnEnable()

void Slasher.Attack.BaseAttack.OnEnable ( )
private

◆ Start()

void Slasher.Attack.BaseAttack.Start ( )
private

◆ Update()

void Slasher.Attack.BaseAttack.Update ( )
private

Member Data Documentation

◆ CONSTANT_DEBUG_Y_OFFSET

const float Slasher.Attack.BaseAttack.CONSTANT_DEBUG_Y_OFFSET = 0.2f
staticprotected

◆ cooldownSeconds

float Slasher.Attack.BaseAttack.cooldownSeconds = 1
private

The pre-defined number of seconds this attack must be on cooldown before it can be initiated again.

Property Documentation

◆ CooldownSeconds

float Slasher.Attack.BaseAttack.CooldownSeconds
get

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