Example #1
0
        public Boat(int x, int y, World level, int puzzleId)
        {
            this.level    = level;
            this.puzzleId = puzzleId;
            direction     = Direction.dDown;

            Vector2 start = RectangleExtensions.GetCenter(level.GetTileBounds(x, y));

            position = start;

            playerInBoat = false;
            moving       = false;

            LoadContent();
        }