<?php  
defined('C5_EXECUTE') or die(_("Access Denied."));

/*
Concrete Bricks game by John Liddiard (aka JohntheFish)
www.jlunderwater.co.uk
This software is licensed under the terms described in the concrete5.org marketplace. 
Please find the add-on there for the latest license copy.

Based on JavaScript open sourced script using MIT licence 
from http://fmarcia.info/
*/
class JlConcreteBricksPackage extends Package {

     protected $pkgHandle = 'jl_concrete_bricks';
     protected $appVersionRequired = '5.5.2';
     protected $pkgVersion = '1.1.1'; 

     public function getPackageDescription() {
		return t('Concrete Bricks Game for Concrete 5, move the falling bricks into place.');
	}

     public function getPackageName() {
          return t('Concrete Bricks Game');
     }
     
     public function install() {
          $pkg = parent::install();
          // install block 
          BlockType::installBlockTypeFromPackage('jl_concrete_bricks_game', $pkg); 
          BlockType::installBlockTypeFromPackage('jl_concrete_bricks_scores', $pkg); 
     }
     
}
