class
#include <bn_dmg_music_position.h>
dmg_music_position Contains the required information to specify the position of an active DMG music.
Constructors, destructors, conversion operators
- dmg_music_position() defaulted constexpr
- Default constructor.
- dmg_music_position(int pattern, int row) constexpr
- Constructor.
Public functions
- auto pattern() const -> int constexpr
- Returns the pattern order.
- void set_pattern(int pattern) constexpr
- Sets the pattern order.
- auto row() const -> int constexpr
- Returns the row inside the pattern.
- void set_row(int row) constexpr
- Sets the row inside the pattern.
Friends
-
auto operator==(const dmg_
music_ position& a, const dmg_ music_ position& b) -> bool defaulted constexpr - Default equal operator.
Function documentation
bn:: dmg_music_position:: dmg_music_position(int pattern,
int row) constexpr
Constructor.
Parameters | |
---|---|
pattern | Pattern order. |
row | Row inside the pattern. |