-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pikachu.h
58 lines (46 loc) · 1.18 KB
/
Pikachu.h
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#pragma once
#include "stdafx.h"
class Pikachu : public Actor, public MouseListener {
public:
Pikachu();
virtual ~Pikachu();
void Update(float dt);
void Render();
void ReceiveMessage(Message* message);
void GetToNextPoint();
void GoTo(Vector2 newDestination);
void Fight();
void Talk();
void Text(String display_text);
void Proposition(String customer_name);
virtual void MouseDownEvent(Vec2i screenCoordinates, MouseButtonInput button);
double scalar;
double positionlength;
double destinationlength;
double cosinus;
double angle;
float time;
float distance;
double Angle(Vector2 position, Vector2 destination);
Vector2 currentPosition;
String last_mode;
float distanceWalked;
bool walkingright;
bool walkingleft;
bool walkingup;
bool walkingdown;
String pathName;
String pokemonType;
String pokemonName;
Actor* actioner;
CollisionManager* customer_served;
AngelSampleHandle happyPikachuSound;
AngelSampleHandle sadPikachuSound;
AngelSampleHandle battleSound;
AngelSampleHandle pikachuTalking;
AngelSampleHandle pikachuDialoguePokemon;
Vector2List _pathPoints;
unsigned int _pathIndex;
FullScreenActor* chat_screen;
TextActor* chat;
};