Beispiel #1
0
 public void SetEvent(StyleChangedEvent evt)
 {
     _newStyle = evt.Style;
 }
Beispiel #2
0
 private void SetupStyle(TileStyle style)
 {
     _image.color = style.StyleColor;
     _title.text  = style.Name;
 }
Beispiel #3
0
 //command may resolve any dependency represented in context
 public StyleCommand(TileStyle original)
 {
     _originalStyle = original;
 }
Beispiel #4
0
 public void Init(TileStyle style, IEventDispatcher dispatcher)
 {
     _style           = style;
     _eventDispatcher = dispatcher;
 }