summaryrefslogtreecommitdiff
path: root/src/koopatlas/player.h
blob: 2b53119de25f8b438bce98565c2bbf1a521b0233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __KOOPATLAS_PLAYER_H
#define __KOOPATLAS_PLAYER_H

#include "koopatlas/core.h"

class daWMPlayer_c : public dActor_c {
	public:
		dPlayerModelHandler_c *modelHandler;

		int onCreate();
		int onDelete();
		int onExecute();
		int onDraw();

		int current_param;

		int currentAnim;
		float currentFrame;
		float currentUnk;
		float currentUpdateRate;

		void startAnimation(int id, float frame, float unk, float updateRate);

		static daWMPlayer_c *build();
		static daWMPlayer_c *instance;
};

#endif