Location: PHPKode > projects > PHP-Minesweeper > php-minesweeper-master/lib/Minesweeper/Square/MineSquare.php
<?php
namespace Minesweeper\Square;

use Minesweeper\Grid;

class MineSquare extends Square {

	/**
	 * @see Minesweeper\Square.Square::isGameOver()
	 */
	public function isGameOver()
	{
		return TRUE;
	}

	/**
	 * @see Minesweeper\Square.Square::isAutoRevealable()
	 */
	public function isAutoRevealable()
	{
		return FALSE;
	}

	/**
	 * @see Minesweeper\Square.Square::__toString()
	 */
	public function __toString()
	{
		return 'mine';
	}
}
Return current item: PHP-Minesweeper