2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

Additional CPlayer work

This commit is contained in:
Jack Andersen
2017-07-23 13:45:04 -10:00
parent dea26b1b32
commit 4528a6b60a
25 changed files with 733 additions and 202 deletions

View File

@@ -101,7 +101,14 @@ public:
void AddValue(const T& t)
{
if (this->size() < N)
{
this->push_back(t);
}
else
{
this->pop_back();
this->insert(this->begin(), t);
}
}
rstl::optional_object<T> GetAverage() const