public Bridge(FroggerBoard board, Point p, string board_name) : base(board,new Rectangle(p.x,p.y,1.0f,3.0f)) { level=Level.Floor; animation=new FroggerAnimation("bridge"); this.board_name = board_name; }
public Rock(FroggerBoard board,Point p) : base(board,new Rectangle(p.x,p.y,1.0f,1.0f)) { level=Level.Floor; animation=new FroggerAnimation("rock"); animation.Seek(Utils.rand.Next(3)); //this.MoveBy(new Point((float)Utils.rand.NextDouble()*0.1f-0.05f,(float)Utils.rand.NextDouble()*0.1f-0.05f)); }
public Log(FroggerBoard board,Point p) : base(board,new Rectangle(p.x,p.y,3.0f,1.0f)) { animation=new FroggerAnimation("log"); }
public LittleFrog(FroggerBoard board,Point p) : base(board,new Rectangle(p.x,p.y,1.0f,1.0f)) { level=Level.Walking; animation=new FroggerAnimation("little_frog"); }
public Home(FroggerBoard board,Point p) : base(board,new Rectangle(p.x,p.y,2.0f,2.0f)) { level=Level.Floor; animation=new FroggerAnimation("home"); }
public Frog(FroggerBoard board, Point p) : base(board,new Rectangle(p.x,p.y,1.0f,1.0f)) { starting_location = p; level=Level.Walking; animation=new FroggerAnimation("frog"); }
public Fly(FroggerBoard board,Point p) : base(board,new Rectangle(p.x,p.y,1.0f,1.0f)) { level=Level.Air; animation=new FroggerAnimation("fly"); //this.Go(new Point(1.0f,0.0f),float.PositiveInfinity); }