Skip to content

Instantly share code, notes, and snippets.

View palmic's full-sized avatar

Michal Palma palmic

  • www.emplifi.io
  • Czech republic
View GitHub Profile
var AI;
(function (AI) {
var Creeps = (function () {
function Creeps(game, geo) {
this.game = game;
this.geo = geo;
}
Creeps.prototype.tick = function () {
var creeps = this.game.creeps;
for (var creepName in creeps) {
namespace AI {
export namespace Creep {
export class Harvester {
private game: Game;
private geo: Helper.Geo;
private creep: Creep;
constructor(game: Game, geo: Helper.Geo, creep: Creep) {
this.game = game;
/**
* This file is part of the Nette Framework (http://nette.org)
*
* Copyright (c) 2004, 2011 David Grudl (http://davidgrudl.com)
*
* For the full copyright and license information, please view
* the file license.txt that was distributed with this source code.
*/
namespace Nette\Utils;
@palmic
palmic / login.feature
Created March 6, 2012 10:42
Acount login feature
Feature: management login
As a account owner
I want to login to my account management
Background:
Given We are logged out
And We have no user
And I create new account
Scenario: management login