added proxy sample

This commit is contained in:
Ilkka Seppala
2014-08-16 20:28:07 +03:00
parent 5cd611bf19
commit a9971dc38f
6 changed files with 84 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package com.iluwatar;
public class App
{
public static void main( String[] args )
{
WizardTowerProxy tower = new WizardTowerProxy();
tower.enter(new Wizard("Red wizard"));
tower.enter(new Wizard("White wizard"));
tower.enter(new Wizard("Black wizard"));
tower.enter(new Wizard("Green wizard"));
tower.enter(new Wizard("Brown wizard"));
}
}