public void drawCharactersOnImage(Graphics g, string character1Path, CharacterPoint character1Point, string character2Path, CharacterPoint character2Point) { g.DrawImage(base.getImage(character1Path), character1Point.getPoint()); Image reverseChar2 = (Image)base.getImage(character2Path); reverseChar2.RotateFlip(RotateFlipType.Rotate180FlipY); g.DrawImage(reverseChar2, character2Point.getPoint()); }
public MatchupPictureTemplate(string filePath, string gametype, TournamentPoint tournamentPoint, TournamentPoint tournamentRoundPoint, string character1Path, CharacterPoint character1Point, CompetitorPoint competitor1Point, string character2Path, CharacterPoint character2Point, CompetitorPoint competitor2Point) : base(filePath) { this.tournamentPoint = tournamentPoint; this.tournamentRoundPoint = tournamentRoundPoint; this.character1Path = character1Path; this.character2Path = character2Path; this.competitor1Point = competitor1Point; this.competitor2Point = competitor2Point; this.character1Point = character1Point; this.character2Point = character2Point; }
public Character(CharacterPoint point, CharacterType type) { Point = point; Type = type; IsCounted = false; }