// Copyright (c) 2022 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include "VisualNovelCharacter.hpp" using namespace Dawn; VisualNovelCharacter::VisualNovelCharacter(SceneItem *item) : SceneItemComponent(item) { } std::vector VisualNovelCharacter::getDependencies() { return std::vector{ (this->material = this->item->getComponent()), (this->tiledSprite = this->item->getComponent()) }; } void VisualNovelCharacter::onStart() { assertNotNull(this->material); assertNotNull(this->tiledSprite); }