public HpResizeAnimation(int startHp, int targetHp, HPLine line) { this.targetHP = targetHp; this.line = line; currentHP = startHp; lower = startHp > targetHp; }
private HPLine CreateLine(IGraphicComponent hpLine) { var outerLine = new Mock<IGraphicComponent>().Object; var innerLine = new Mock<IGraphicComponent>().Object; var line = new HPLine(outerLine, innerLine, hpLine, Color.White); line.MaxHP = 100; line.Setup(); return line; }
public PokemonMenuLine(TextureBox icon, HPLine hpLine, TextBox nameBox, HPText hpText, TextBox level, TextBox hpLabel, TextureProvider textureProvider) { mainContainer = new Container(); this.icon = icon; this.hpLine = hpLine; this.hpText = hpText; this.nameBox = nameBox; this.level = level; this.hpLabel = hpLabel; this.textureProvider = textureProvider; }
public AIPokemonDataView(HPLine line, TextBox nameBox, TextBox levelBox, TextBox hpBox) : base(line, nameBox, levelBox, hpBox) { }
public HpResizeAnimation(int targetHp, HPLine line) : this(line.Current, targetHp, line) { }
public PlayerPokemonDataView(HPLine line, TextBox nameBox, TextBox levelBox, TextBox hpBox, HPText hpTextBox) : base(line, nameBox, levelBox, hpBox, hpTextBox) { }