public class McSp2Song extends Song
| Constructor and Description |
|---|
McSp2Song() |
McSp2Song(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
McSp2Song |
copy() |
int |
getAutoSaveInterval() |
java.util.Map<java.lang.Integer,McSp2Layer> |
getLayers() |
int |
getLeftClicks() |
int |
getMinutesSpent() |
int |
getNoteBlocksAdded() |
int |
getNoteBlocksRemoved() |
int |
getRightClicks() |
int |
getTempo() |
McSp2Song |
setAutoSaveInterval(int autoSaveInterval) |
McSp2Song |
setLeftClicks(int leftClicks) |
McSp2Song |
setMinutesSpent(int minutesSpent) |
McSp2Song |
setNoteBlocksAdded(int noteBlocksAdded) |
McSp2Song |
setNoteBlocksRemoved(int noteBlocksRemoved) |
McSp2Song |
setRightClicks(int rightClicks) |
McSp2Song |
setTempo(int tempo) |
copyGeneralData, getAuthor, getAuthorOr, getDescription, getDescriptionOr, getFileName, getFileNameOr, getFormat, getHumanReadableLength, getLengthInMilliseconds, getLengthInSeconds, getNotes, getOriginalAuthor, getOriginalAuthorOr, getTempoEvents, getTitle, getTitleOr, getTitleOrFileName, getTitleOrFileNameOr, millisecondsToTick, setAuthor, setDescription, setOriginalAuthor, setTitle, tickToMillisecondspublic McSp2Song()
public McSp2Song(java.lang.String fileName)
public int getTempo()
public McSp2Song setTempo(int tempo)
tempo - The tempo of the song. Measured in ticks per second.public int getAutoSaveInterval()
public McSp2Song setAutoSaveInterval(int autoSaveInterval)
autoSaveInterval - The amount of minutes between each auto-save (0 indicates that auto-save is disabled) (0-60).public int getLeftClicks()
public McSp2Song setLeftClicks(int leftClicks)
leftClicks - Amount of times the user has left-clicked.public int getRightClicks()
public McSp2Song setRightClicks(int rightClicks)
rightClicks - Amount of times the user has right-clicked.public int getNoteBlocksAdded()
public McSp2Song setNoteBlocksAdded(int noteBlocksAdded)
noteBlocksAdded - Amount of times the user has added a note block.public int getNoteBlocksRemoved()
public McSp2Song setNoteBlocksRemoved(int noteBlocksRemoved)
noteBlocksRemoved - Amount of times the user has removed a note block.public int getMinutesSpent()
public McSp2Song setMinutesSpent(int minutesSpent)
minutesSpent - Amount of minutes spent on the project.public java.util.Map<java.lang.Integer,McSp2Layer> getLayers()