示例#1
0
 public TargetingStrategyButton(ContentControl container, Actor actor, TargetingStrategy strategy, Texture2D texture)
 {
     this.container = container;
     this.Actor = actor;
     this.TargetingStrategy = strategy;
     this.texture = texture;
 }
示例#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;
 }
示例#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;
 }
示例#4
0
            public ControlControlContent(ContentControl container, Control control)
            {
                this.container = container;
                this.control = control;

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