Added numArgs parameter

This commit is contained in:
smallmodel 2023-08-20 02:23:41 +02:00
parent 007a7681eb
commit b68992e55e
No known key found for this signature in database
GPG key ID: A96F163ED4891440
2 changed files with 3 additions and 3 deletions

View file

@ -29,8 +29,8 @@ CLASS_DECLARATION(Event, AnimationEvent, NULL) {
{NULL, NULL}
};
AnimationEvent::AnimationEvent(str command)
: Event(command)
AnimationEvent::AnimationEvent(str command, int numArgs)
: Event(command, numArgs)
{
anim_number = 0;
anim_frame = 0;

View file

@ -35,7 +35,7 @@ public:
void *operator new(size_t size);
void operator delete(void *ptr);
AnimationEvent(str command);
AnimationEvent(str command, int numArgs = 0);
AnimationEvent(const Event& ev);
AnimationEvent();