Пример #1
0
 public Protagonist(IScene scene)
 {
     controller = new ProtagonistController (this);
     view = new ProtagonistView (this);
     this.scene = scene;
     PointD bounds = scene.getBounds ();
     position = new PointD (bounds.X / 2, bounds.Y - 70);
 }
Пример #2
0
 public Head(IScene scene,Point pos)
 {
     controller = new HeadController (this);
     view = new HeadView (this);
     this.scene = scene;
     bounds = scene.getBounds ();
     position = pos;
 }