public Door(GraphicsDevice graphics, Texture2D texture, Point loc, Dialogue[] dialogue, int why, int frameCount, int linkx, int linky, String path) : base(graphics, texture, loc, dialogue, frameCount, why) { this.path = path; this.move = true; this.unload = false; this.link = new Point(linkx, linky); }
public Girlfriend(GraphicsDevice graphics, Texture2D texture, Point loc, Dialogue[] dialogue, int frameCount, int why) : base(graphics, texture, loc, dialogue, frameCount, why) { subsets.Add("front", board.getSubset(0, 1)); subsets.Add("right", board.getSubset(2, 3)); subsets.Add("left", board.getSubset(4, 5)); subsets.Add("back", board.getSubset(12, 12)); frameSet = subsets["front"]; }
public Bed(GraphicsDevice graphics, Texture2D texture, Point loc, Dialogue[] dialogue, int frameCount, int why) : base(graphics, texture, loc, dialogue, frameCount, why) { //setup frames subsets.Add("sleep", board.getSubset(0, 1)); subsets.Add("made", board.getSubset(2, 3)); frameSet = subsets["made"]; frameSet.setFrame(1); this.dialogueInt = 1; this.framecount = frameCount; }
public LittleBrother(GraphicsDevice graphics, Texture2D texture, Point loc, Dialogue[] dialogue, int frameCount, int why) : base(graphics, texture, loc, dialogue, frameCount, why) { subsets.Add("front", board.getSubset(0, 1)); subsets.Add("right", board.getSubset(2, 3)); subsets.Add("left", board.getSubset(4, 5)); subsets.Add("back", board.getSubset(13, 13)); subsets.Add("horror", board.getSubset(11, 11)); frameSet = subsets["front"]; moveable = false; }
public Entity(GraphicsDevice graphics, Texture2D texture, Point loc, Dialogue[] dialogue, int frameCount, int why) { this.texture = texture; this.batch = new SpriteBatch(graphics); this.dialogue = dialogue; this.why = why; this.dialogueInt = 0; this.showDialogue = false; this.originalLoc = loc; setSize(frameCount); board = new FrameSet(new Point(texture.Width, texture.Height), size, 0, frameCount); frameSet = board; }
public Pig(GraphicsDevice graphics, Texture2D texture, Point loc, Dialogue[] dialogue, int frameCount, int why) : base(graphics, texture, loc, dialogue, frameCount, why) { this.goUpsideDown = true; this.framecount = frameCount; }
public TypicalObject(GraphicsDevice graphics, Texture2D texture, Point loc, Dialogue[] dialogue, int frameCount, int why) : base(graphics, texture, loc, dialogue, frameCount, why) { }
public Cupboard(GraphicsDevice graphics, Texture2D texture, Point loc, Dialogue[] dialogue, int frameCount, int why) : base(graphics, texture, loc, dialogue, frameCount, why) { }
public NPC(GraphicsDevice graphics, Texture2D texture, Point loc, Dialogue[] dialogue, int frameCount, int why) : base(graphics, texture, loc, dialogue, frameCount, why) { moveTo = loc; }