Пример #1
0
 /// <summary>
 ///     Builds a new handler for the given <see cref="MenuButton" />.
 /// </summary>
 /// <param name="component">The <see cref="MenuButton" /> where this handler is responsible for.</param>
 /// <returns>The handler</returns>
 public ADrawable<MenuButton> BuildButtonHandler(MenuButton component)
 {
     return new LightButton2(component);
 }
Пример #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="LightButton2" /> class.
 /// </summary>
 /// <param name="component">
 ///     The menu component
 /// </param>
 public LightButton2(MenuButton component)
     : base(component)
 {
 }
Пример #3
0
 /// <summary>
 ///     Builds a new handler for the given <see cref="MenuButton" />.
 /// </summary>
 /// <param name="component">The <see cref="MenuButton" /> where this handler is responsible for.</param>
 /// <returns>The handler</returns>
 public ADrawable<MenuButton> BuildButtonHandler(MenuButton component)
 {
     return new TechButton(component);
 }
Пример #4
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="BlueButton2" /> class.
 /// </summary>
 /// <param name="component">
 ///     The menu component
 /// </param>
 public BlueButton2(MenuButton component)
     : base(component)
 {
 }