/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (PkMnGame game = new PkMnGame()) { game.Run(); } }
public TransformScreen(PkMnGame game, ScreenTransformation transformation, int offset, bool parallel) { this.game = game; this.transformation = transformation; this.offset = offset; this.Parallel = parallel; }
public HUD(PkMnGame parent, int x, int y, int width, int height, bool mirror) : base(parent, x, y, width, height) { extraAnimationCounter = -1; statusText = ""; ShowParty = false; this.mirror = mirror; }
public ScrollingTextBox(PkMnGame parent, int x, int y, int width, int height) : base(parent, x, y, width, height) { queue = new Queue <string>(); frameCounter = 0; state = State.ReadyForNext; staticDisplayNext = false; }
public Panel(PkMnGame parent, int x, int y, int width, int height) { this.parent = parent; X = x; Y = y; Width = width; Height = height; state = State.ReadyForNext; }
public SelfRenderer(PkMnGame parent, int x, int y, int width, int height) : base(parent, x, y, width, height) { monSprite = SpriteManager.Back; MonSpriteRect = new Rectangle(X + SpriteManager.CharWidth * 2, Y + Height - SpriteManager.BackHeight + 16, SpriteManager.BackWidth, SpriteManager.BackHeight); FaceCoords = new Vector2(MonSpriteRect.X + MonSpriteRect.Width - 48, MonSpriteRect.Y + 72); BeamOriginCoords = new Vector2(MonSpriteRect.X + MonSpriteRect.Width / 2 + 2, MonSpriteRect.Y + MonSpriteRect.Height * 3 / 4); ScreenEdgeDirection = -1; MonSpriteBottom = MonSpriteRect.Y + MonSpriteRect.Height - 32; }
public HorizontalMenu(PkMnGame parent, int x, int y, int width, int height) : base(parent, x, y, width, height) { }
public PartyMenu(PkMnGame parent, int x, int y, int width, int height) : base(parent, x, y, width, height) { itemHeight = Height / 6; }
public MoveDisplay(PkMnGame parent, int x, int y, int width, int height) : base(parent, x, y, width, height) { }
public Menu(PkMnGame parent, int x, int y, int width, int height) : base(parent, x, y, width, height) { items = new List <MenuItem>(); }
public ExtraHUD(PkMnGame parent, int x, int y, int width, int height, bool flip) : base(parent, x, y, width, height) { this.flip = flip; }
public PartyMenuItem(PkMnGame parent, int x, int y, int width, int height, Monster monster, bool selected) : base(parent, x, y, width, height, monster.Name, selected) { this.monster = monster; frameCounter = 0; }
public MonsterRenderer(PkMnGame parent, int x, int y, int width, int height) : base(parent, x, y, width, height) { Position = SpritePosition.Hidden; Display = SpriteDisplay.Normal; }