blob: 5f541b96d5b49b3982064d81b97fa28aaf47f594 (
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
30
31
32
|
#ifndef VELOCITY_H
#define VELOCITY_H
#include "AbstractData.h"
class Velocity : public AbstractData
{
public:
// Constructors
Velocity();
Velocity(unsigned char* byte); // Parse Immidiately
Velocity(unsigned char velocity, unsigned char length, bool); // Set value
// Direct Getters/Setters
unsigned char GetVelocity();
void SetVelocity(unsigned char value);
unsigned char GetLength();
void SetLength(unsigned char value);
// Overides
virtual std::string GenAsm();
virtual bool IsValid(unsigned char* byte);
virtual bool Parse(unsigned char* byte);
virtual unsigned int Arguments();
private:
unsigned char velocity;
unsigned char length;
};
#endif
|