summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/JukeboxEntity.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-28 15:41:46 +0100
committermadmaxoft <github@xoft.cz>2014-02-28 15:41:46 +0100
commitd97363a1b39fd94a77bb84a4d9732ab4f46b08b7 (patch)
treed60dc5b5a8cee7995fd11671267953e2e40fec4d /src/BlockEntities/JukeboxEntity.h
parentMoved common cGroupManager code to a separate function. (diff)
downloadcuberite-d97363a1b39fd94a77bb84a4d9732ab4f46b08b7.tar
cuberite-d97363a1b39fd94a77bb84a4d9732ab4f46b08b7.tar.gz
cuberite-d97363a1b39fd94a77bb84a4d9732ab4f46b08b7.tar.bz2
cuberite-d97363a1b39fd94a77bb84a4d9732ab4f46b08b7.tar.lz
cuberite-d97363a1b39fd94a77bb84a4d9732ab4f46b08b7.tar.xz
cuberite-d97363a1b39fd94a77bb84a4d9732ab4f46b08b7.tar.zst
cuberite-d97363a1b39fd94a77bb84a4d9732ab4f46b08b7.zip
Diffstat (limited to 'src/BlockEntities/JukeboxEntity.h')
-rw-r--r--src/BlockEntities/JukeboxEntity.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/BlockEntities/JukeboxEntity.h b/src/BlockEntities/JukeboxEntity.h
index 01ce52494..3d1d604f7 100644
--- a/src/BlockEntities/JukeboxEntity.h
+++ b/src/BlockEntities/JukeboxEntity.h
@@ -38,10 +38,11 @@ public:
int GetRecord(void);
void SetRecord(int a_Record);
- /** Play a Record. Return false, when a_Record isn't 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 inserted. */
+ /** 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? */