You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
436 B
25 lines
436 B
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
#include "SelectedUpgrade.h"
|
|
|
|
UUpgrade* USelectedUpgrade::GetUpgradeData() const
|
|
{
|
|
return UpgradeData;
|
|
}
|
|
|
|
int32 USelectedUpgrade::IncreaseUpgradeLevel()
|
|
{
|
|
return ++TimesSelected;
|
|
}
|
|
|
|
int32 USelectedUpgrade::GetUpgradeLevel() const
|
|
{
|
|
return TimesSelected;
|
|
}
|
|
|
|
void USelectedUpgrade::SetUpgradeData(UUpgrade* UpgradeToAdd)
|
|
{
|
|
UpgradeData = UpgradeToAdd;
|
|
}
|