Inital Commit
This commit is contained in:
@@ -0,0 +1 @@
|
||||
#include "editor.h"
|
||||
@@ -0,0 +1,22 @@
|
||||
#include "playerEditor.h"
|
||||
#include <vector>
|
||||
|
||||
void PlayerEditor::Create()
|
||||
{
|
||||
if (toEdit == nullptr)
|
||||
{
|
||||
toEdit = new PlayerE();
|
||||
}
|
||||
players.push_back(*toEdit);
|
||||
}
|
||||
|
||||
|
||||
void PlayerEditor::Edit()
|
||||
{
|
||||
|
||||
printf("Options: %s\n");
|
||||
for (auto &command : commands.begin())
|
||||
{
|
||||
printf("%s\n", command.c_str());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
#include "playerEditor.h"
|
||||
|
||||
void Create()
|
||||
{
|
||||
if (toEdit == nullptr)
|
||||
{
|
||||
toEdit = new PlayerE();
|
||||
}
|
||||
players.push_back(toEdit);
|
||||
}
|
||||
|
||||
|
||||
void Edit()
|
||||
{
|
||||
|
||||
printf("Options: %s\n");
|
||||
for (auto command : commands.begin())'
|
||||
{
|
||||
printf("%s\n", command.c_str());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user