diff options
Diffstat (limited to 'music/pokeredmusicdisasm/Velocity.h')
-rw-r--r-- | music/pokeredmusicdisasm/Velocity.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/music/pokeredmusicdisasm/Velocity.h b/music/pokeredmusicdisasm/Velocity.h new file mode 100644 index 00000000..5f541b96 --- /dev/null +++ b/music/pokeredmusicdisasm/Velocity.h @@ -0,0 +1,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
\ No newline at end of file |