31 lines
765 B
C
31 lines
765 B
C
/**
|
|
* Copyright (c) 2025 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#include "entity.h"
|
|
#include "assert/assert.h"
|
|
|
|
#include "rpg/cutscene/scene/testcutscene.h"
|
|
#include "rpg/rpgtextbox.h"
|
|
|
|
void npcInit(entity_t *entity) {
|
|
assertNotNull(entity, "Entity pointer cannot be NULL");
|
|
}
|
|
|
|
void npcMovement(entity_t *entity) {
|
|
assertNotNull(entity, "Entity pointer cannot be NULL");
|
|
}
|
|
|
|
bool_t npcInteract(entity_t *player, entity_t *npc) {
|
|
assertNotNull(player, "Player entity pointer cannot be NULL");
|
|
assertNotNull(npc, "NPC entity pointer cannot be NULL");
|
|
|
|
cutsceneSystemStartCutscene(&TEST_CUTSCENE);
|
|
|
|
// rpgTextboxShow(RPG_TEXTBOX_POS_BOTTOM, "Hello World!");
|
|
|
|
return false;
|
|
}; |