summaryrefslogtreecommitdiff
path: root/src/engine/Actor.cpp
blob: be86d2a5f595bda065bd4afbbfb33013bf32116a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <libultraship.h>

#include "Actor.h"

AActor::AActor() {}

// Virtual functions to be overridden by derived classes
void AActor::Tick() {  }
void AActor::Draw(Camera *camera) { }
void AActor::Collision(Player* player, AActor* actor) {}
void AActor::VehicleCollision(s32 playerId, Player* player){}
void AActor::Destroy() {
    // Set uuid to zero.
    memset(uuid, 0, sizeof(uuid));
}
bool AActor::IsMod() { return false; }