Show / Hide Table of Contents

Interface IAttackable

Интерфейс для реализации жизненного цикла атакуемого объекта

Namespace: BaseDefense.AttackImplemention
Assembly: BaseDefense.dll
Syntax
public interface IAttackable

Properties

CurrentHealthPoints

Текущий показатель здоровья объекта

Declaration
float CurrentHealthPoints { get; }
Property Value
Type Description
float

Methods

Hit(float)

Вызывается для нанесения повреждений объекту

Declaration
void Hit(float damage)
Parameters
Type Name Description
float damage

Количество нанесённых повреждений

In This Article
Back to top Generated by DocFX