AzureAbyss/Source/the_twilight_abyss/TurnBaseCombat.cpp

25 lines
377 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#include "TurnBaseCombat.h"
void ATurnBaseCombat::BeginPlay()
{
Super::BeginPlay();
activeActionPoints = defaultActionPoints;
}
void ATurnBaseCombat::useActionPoint()
{
activeActionPoints -= 1;
}
void ATurnBaseCombat::revertActionPoints()
{
activeActionPoints = defaultActionPoints;
}