|
@@ -206,7 +206,8 @@ enum AktionTyp
|
|
|
FLOAT_AUS_TEXT,
|
|
|
TEXT_AUS_FLOAT,
|
|
|
FLOAT_ZUFALL,
|
|
|
- INTEGER_AUS_FLOAT
|
|
|
+ INTEGER_AUS_FLOAT,
|
|
|
+ KONSTANT_TASTE
|
|
|
};
|
|
|
|
|
|
enum Operator
|
|
@@ -277,6 +278,16 @@ public:
|
|
|
void run( Spiel *zSpiel, Ereignis *zEreignis, LocalMemory *zMemory, ProgramCounter *zPC, double &waitCount ) override;
|
|
|
};
|
|
|
|
|
|
+class KonstantTaste : public Aktion
|
|
|
+{
|
|
|
+private:
|
|
|
+ unsigned char value;
|
|
|
+
|
|
|
+public:
|
|
|
+ KonstantTaste( unsigned char taste );
|
|
|
+ void run( Spiel *zSpiel, Ereignis *zEreignis, LocalMemory *zMemory, ProgramCounter *zPC, double &waitCount ) override;
|
|
|
+};
|
|
|
+
|
|
|
class KonstantBoolean : public Aktion
|
|
|
{
|
|
|
private:
|