Esempio n. 1
0
 public TargetingStrategyButton(ContentControl container, Actor actor, TargetingStrategy strategy, Texture2D texture)
 {
     this.container = container;
     this.Actor = actor;
     this.TargetingStrategy = strategy;
     this.texture = texture;
 }
Esempio n. 2
0
 public AbilityButton(ContentControl container, Actor actor, Ability ability, Texture2D texture, Texture2D blankTexture, SpriteFont font)
 {
     this.container = container;
     this.Actor = actor;
     this.Ability = ability;
     this.texture = texture;
     this.blankTexture = blankTexture;
     this.font = font;
 }
Esempio n. 3
0
 public OrderButton(ContentControl container, Actor actor, Order order, Texture2D texture, Texture2D blankTexture, Texture2D targetTexture, SpriteFont font)
 {
     this.container = container;
     this.Actor = actor;
     this.Order = order;
     this.texture = texture;
     this.blankTexture = blankTexture;
     this.targetTexture = targetTexture;
     this.font = font;
 }
Esempio n. 4
0
            public ControlControlContent(ContentControl container, Control control)
            {
                this.container = container;
                this.control = control;

                control.Parent = container;
            }
Esempio n. 5
0
 public Texture2DControlContent(ContentControl container, Texture2D texture)
 {
     this.container = container;
     this.texture = texture;
 }
Esempio n. 6
0
 public DefaultControlContent(ContentControl container, object value)
 {
     this.value = value;
     this.container = container;
 }