summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/JukeboxEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockEntities/JukeboxEntity.h')
-rw-r--r--src/BlockEntities/JukeboxEntity.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/BlockEntities/JukeboxEntity.h b/src/BlockEntities/JukeboxEntity.h
index 3724922ae..6d9f90a2b 100644
--- a/src/BlockEntities/JukeboxEntity.h
+++ b/src/BlockEntities/JukeboxEntity.h
@@ -16,32 +16,32 @@ class cJukeboxEntity :
public:
// tolua_end
-
+
BLOCKENTITY_PROTODEF(cJukeboxEntity)
-
+
cJukeboxEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World);
virtual ~cJukeboxEntity();
// tolua_begin
-
+
int GetRecord(void);
void SetRecord(int a_Record);
-
+
/** Plays the specified Record. Return false if a_Record isn't a playable Record (E_ITEM_XXX_DISC).
If there is a record already playing, ejects it first. */
bool PlayRecord(int a_Record);
-
+
/** Ejects the currently held record as a pickup. Return false when no record had been inserted. */
bool EjectRecord(void);
-
+
/** Is in the Jukebox a Record? */
bool IsPlayingRecord(void);
-
+
static bool IsRecordItem(int a_Item)
{
return ((a_Item >= E_ITEM_FIRST_DISC) && (a_Item <= E_ITEM_LAST_DISC));
}
-
+
// tolua_end
virtual bool UsedBy(cPlayer * a_Player) override;