GeneralRulesMessageLayer Constructor |
Creates a message layer object
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public MessageLayer(
Tileset Tileset,
MapBase Parent,
int nColumns,
int nRows,
Point Position,
Color background,
int player,
GeneralRulesButtonSpecifier dismissButton,
GeneralRulesMessageView msgView
)
Parameters
- Tileset
- Type: (Default Namespace)Tileset
Each tile in this tileset represents a unicode character starting with
tile number 0 representing unicode character 0. - Parent
- Type: (Default Namespace)MapBase
Map that will host this layer. - nColumns
- Type: SystemInt32
Number of columns of text this layer can represent. - nRows
- Type: SystemInt32
Number of rows of text this layer can represent. - Position
- Type: System.DrawingPoint
Position of the top-left corner of this layer within the map. - background
- Type: System.DrawingColor
Background color for the box containing this message. - player
- Type: SystemInt32
0-based player number whose button can dismiss this message. - dismissButton
- Type: (Default Namespace)GeneralRulesButtonSpecifier
Which of the player's buttons can dismiss this message. - msgView
- Type: (Default Namespace)GeneralRulesMessageView
Which view(s) will the message appear in.
See Also