Beispiel #1
0
 public PlayerBoundingboxEditor(PlayerLayer parent)
 {
     this.parent = parent;
     overlay     = new Texture2D(Game1.Instance.GraphicsDevice, 1, 1);
     overlay.SetData <Color>(new Color[1] {
         Color.FromNonPremultiplied(0, 0, 0, 150)
     });
 }
 public PlayerBoundingboxEditor(PlayerLayer parent)
 {
     this.parent = parent;
     overlay = new Texture2D(Game1.Instance.GraphicsDevice, 1, 1);
     overlay.SetData<Color>(new Color[1] { Color.FromNonPremultiplied(0, 0, 0, 150) });
 }