Package pacManReloaded.common.messages
Class NoParameterMessage
- java.lang.Object
-
- pacManReloaded.common.messages.NoParameterMessage
-
-
Constructor Summary
Constructors Constructor Description NoParameterMessage(Command msgType)Constructor of the class
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandgetType()"getter" for the type of the commandjava.lang.StringtoString()method which makes the messagetype to a string
-
-
-
Constructor Detail
-
NoParameterMessage
public NoParameterMessage(Command msgType)
Constructor of the class- Parameters:
msgType- type of the message
-
-
Method Detail
-
getType
public Command getType()
"getter" for the type of the command
-
toString
public java.lang.String toString()
method which makes the messagetype to a string- Overrides:
toStringin classjava.lang.Object- Returns:
- type of the message as a string
-
-