#pragma once #include "olcPixelGameEngine.h" #include "Unit.h" namespace util{ float random(float range); void ApplyMatrixEffect(PixelGameEngine*pge,Renderable&r,Renderable&originalImg,std::unique_ptr&matrixImg); bool CanAfford(Resources&resources,std::vector&unitCosts); int GetHealthCost(std::vector&unitCosts); int GetAtkSpdCost(std::vector&unitCosts); int GetMoveSpdCost(std::vector&unitCosts); int GetRangeCost(std::vector&unitCosts); int GetProcedureCost(std::vector&unitCosts); }