Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 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"];
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 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;
 }
Ejemplo n.º 5
0
 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;
 }
Ejemplo n.º 6
0
 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;
 }
Ejemplo n.º 7
0
 public TypicalObject(GraphicsDevice graphics, Texture2D texture, Point loc, Dialogue[] dialogue, int frameCount, int why)
     : base(graphics, texture, loc, dialogue, frameCount, why)
 {
 }
Ejemplo n.º 8
0
 public Cupboard(GraphicsDevice graphics, Texture2D texture, Point loc, Dialogue[] dialogue, int frameCount, int why)
     : base(graphics, texture, loc, dialogue, frameCount, why)
 {
 }
Ejemplo n.º 9
0
 public NPC(GraphicsDevice graphics, Texture2D texture, Point loc, Dialogue[] dialogue, int frameCount, int why)
     : base(graphics, texture, loc, dialogue, frameCount, why)
 {
     moveTo = loc;
 }