25 lines
377 B
C++
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;
|
|
}
|
|
|
|
|