diff --git a/sources/Gameplay/BaseClasses/Frontend/BaseFrontend.uc b/sources/Gameplay/BaseClasses/Frontend/BaseFrontend.uc index 3f7da48..5fa0e1f 100644 --- a/sources/Gameplay/BaseClasses/Frontend/BaseFrontend.uc +++ b/sources/Gameplay/BaseClasses/Frontend/BaseFrontend.uc @@ -1,7 +1,7 @@ /** * Base class for all frontends. Does not define anything meaningful, which * also means it does not put any limitations on it's implementation. - * Copyright 2021 Anton Tarasenko + * Copyright 2021-2022 Anton Tarasenko *------------------------------------------------------------------------------ * This file is part of Acedia. * @@ -24,11 +24,17 @@ var private config class templatesClass; var public ATemplatesComponent templates; +var private config class worldClass; +var public AWorldComponent world; + protected function Constructor() { if (templatesClass != none) { templates = ATemplatesComponent(_.memory.Allocate(templatesClass)); } + if (worldClass != none) { + world = AWorldComponent(_.memory.Allocate(worldClass)); + } } protected function Finalizer() @@ -39,5 +45,6 @@ protected function Finalizer() defaultproperties { - templatesClass = none + templatesClass = none + worldClass = none } \ No newline at end of file