/// <summary> /// /// </summary> /// <param name="game">The Game object</param> /// <param name="textureName">Texture name</param> /// <param name="targetRectangle">Position of the component on the screen</param> /// <param name="isChecked">Initial state of the checkbox</param> public Checkbox(Graphics3DSampleGame game, string textureName, Rectangle targetRectangle, bool isChecked) : base(game, targetRectangle) { asset = textureName; this.isChecked = isChecked; }
/// <summary> /// Constructor /// </summary> /// <param name="game">The Game object</param> /// <param name="textureName">Texture Name</param> /// <param name="targetRectangle">Position of the component on the screen</param> /// <param name="initialValue">Initial value</param> public Button (Graphics3DSampleGame game, string textureName, Rectangle targetRectangle, int initialValue) : base(game, targetRectangle) { asset = textureName; value = initialValue; }
/// <summary> /// Constructor /// </summary> /// <param name="game">The Game oject</param> /// <param name="targetRectangle">Position of the component on the screen</param> public Clickable(Graphics3DSampleGame game, Rectangle targetRectangle) : base(game) { rectangle = targetRectangle; }
/// <summary> /// Constructor /// </summary> /// <param name="game">The Game object</param> /// <param name="textureName">Texture Name</param> /// <param name="targetRectangle">Position of the component on the screen</param> /// <param name="initialValue">Initial value</param> public Button(Graphics3DSampleGame game, string textureName, Rectangle targetRectangle, int initialValue) : base(game, targetRectangle) { asset = textureName; value = initialValue; }
static void Main() { using (var game = new Graphics3DSampleGame()) game.Run(); }
public override void FinishedLaunching (MonoMac.Foundation.NSObject notification) { game = new Graphics3DSampleGame (); game.Run (); }
public override void FinishedLaunching(MonoMac.Foundation.NSObject notification) { game = new Graphics3DSampleGame(); game.Run(); }