internal ControlObject(DiscoRoboGame game, Vector2 position, Texture2D texture) : base(game, position, texture) { _game = game; ScaleX = 0.33f; ScaleY = 0.33f; }
// Constructor public GamePage() { InitializeComponent(); _game = XamlGame<DiscoRoboGame>.Create("", this); // Sample code to localize the ApplicationBar //BuildLocalizedApplicationBar(); }
internal BalloonObject(DiscoRoboGame game, Texture2D texture, Vector2 position) : base(game, position, texture) { _game = game; IsActive = false; Scale = new Vector2(0.3f, 0.3f); _speed = 3; SpriteColor = Color.Blue; }
public LineObject(DiscoRoboGame game, Vector2 position, Texture2D texture) : base(game, position, texture) { }
internal ControlObject(DiscoRoboGame game, Vector2 position, Texture2D texture, ControlType type) : this(game, position, texture) { InputType = type; }