CTRE_Phoenix 5.20.2
BaseTwoSizeAnimation.h
1#pragma once
2
3#include "ctre/phoenix/led/Animation.h"
4
5namespace ctre{ namespace phoenix{ namespace led{
6
12 int _r, _g, _b, _w;
13 int _direction, _size;
14
15public:
16
29 BaseTwoSizeAnimation(int idx, int r, int g, int b, int w, double speed, int numLed, int direction, int size);
31
32 BaseStandardAnimation *GetBaseStandardAnimation();
33 BaseTwoSizeAnimation *GetBaseTwoSizeAnimation();
34
39 void SetR(int r);
44 void SetG(int g);
49 void SetB(int b);
54 void SetW(int w);
55 void SetDirection(int direction);
56 void SetSize(int size);
57
58 int GetR();
59 int GetG();
60 int GetB();
61 int GetW();
62 int GetDirection();
63 int GetSize();
64};
65
66} // namespace led
67} // namespace phoenix
68} // namespace ctre
69
Definition: Animation.h:13
Definition: BaseStandardAnimation.h:11
Definition: BaseTwoSizeAnimation.h:11
BaseTwoSizeAnimation(int idx, int r, int g, int b, int w, double speed, int numLed, int direction, int size)
Definition: ErrorCode.h:5