Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White space cleanup and typo fix #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions MatrixBadge/MatrixBadgeSketch/src/Badge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ Badge::Badge(const Badge &copy) {
* Sets this Badge's ID value
*/
void Badge::Set_ID(int p_ID) { m_id = p_ID; }

/**
* Sets this Badge's owners selection of the PILL color, default is NONE if it
* hasn't been selected yet.
*/
void Badge::Set_PillChoice(PillChoice p_choice) { m_choice = p_choice; }

/**
* Sets the PILL color selection of another badge (RED/BLUE) if it has
* been discovered, default is NONE if it hasn't been set yet.
Expand All @@ -52,11 +54,13 @@ void Badge::Set_FreeMind(int p_ID, PillChoice p_choice) {
* Returns this Badge's ID value
*/
int Badge::Get_ID() { return m_id; }

/**
* Returns this Badge's owners selection of the PILL color, or none if it
* hasn't been selected yet.
*/
PillChoice Badge::Get_PillChoice() { return m_choice; }

/**
* Returns the PILL color selection of another badge (RED/BLUE) if it has
* been discovered, or NONE if it hasn't been discovered yet.
Expand Down
2 changes: 1 addition & 1 deletion MatrixBadge/MatrixBadgeSketch/src/Badge.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ typedef enum PILL_CHOICE {
CHOICE_BLUE = 2
} PillChoice;

// Badge class - for reprsenting and storing this badge
// Badge class - for representing and storing this badge

class Badge {

Expand Down