Skip to content

Commit

Permalink
Add to Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
veelenga committed Oct 2, 2017
1 parent 203f326 commit e2c84b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -26,6 +26,7 @@ The goal is to have a set of [GOF patterns](http://www.blackwasp.co.uk/gofpatter
- [Bridge](structural/bridge.cr)
- [Composite](structural/composite.cr)
- [Decorator](structural/decorator.cr)
- [Facade](structural/facade.cr)

## Contribution

Expand Down
7 changes: 5 additions & 2 deletions structural/facade.cr
Expand Up @@ -58,8 +58,11 @@ class Facade
rm = RoundManager.new
params = RoundParams.new(DEFAULT_TIME, DEFAULT_MATCHES)
rm.define_round(arena, params)
return arena
arena
end
end

default_arena = Facade.create_default_arena
Facade.create_default_arena
# Loading arena default from disk...
# Checking validity of round parameters...
# Round initialized with duration 60s and 3 matches.

0 comments on commit e2c84b4

Please sign in to comment.