summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/CommandBlockEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockEntities/CommandBlockEntity.h')
-rw-r--r--src/BlockEntities/CommandBlockEntity.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/BlockEntities/CommandBlockEntity.h b/src/BlockEntities/CommandBlockEntity.h
index c525ebc26..959a40681 100644
--- a/src/BlockEntities/CommandBlockEntity.h
+++ b/src/BlockEntities/CommandBlockEntity.h
@@ -30,7 +30,7 @@ public:
BLOCKENTITY_PROTODEF(cCommandBlockEntity)
- /// Creates a new empty command block entity
+ /** Creates a new empty command block entity */
cCommandBlockEntity(int a_X, int a_Y, int a_Z, cWorld * a_World);
virtual bool Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
@@ -43,29 +43,29 @@ public:
// tolua_begin
- /// Sets the internal redstone power flag to "on" or "off", depending on the parameter. Calls Activate() if appropriate
+ /** Sets the internal redstone power flag to "on" or "off", depending on the parameter. Calls Activate() if appropriate */
virtual void SetRedstonePower(bool a_IsPowered) override;
- /// Sets the command block to execute a command in the next tick
+ /** Sets the command block to execute a command in the next tick */
void Activate(void);
- /// Sets the command
+ /** Sets the command */
void SetCommand(const AString & a_Cmd);
- /// Retrieves stored command
+ /** Retrieves stored command */
const AString & GetCommand(void) const;
- /// Retrieves the last line of output generated by the command block
+ /** Retrieves the last line of output generated by the command block */
const AString & GetLastOutput(void) const;
- /// Retrieves the result (signal strength) of the last operation
+ /** Retrieves the result (signal strength) of the last operation */
NIBBLETYPE GetResult(void) const;
// tolua_end
private:
- /// Executes the associated command
+ /** Executes the associated command */
void Execute();
bool m_ShouldExecute;