Example #1
0
 public PlayerShell()
 {
     //Initialize Components
     playerController = new PlayerController(this);
     movingGraphics = new MovingGraphics(this, "crate");
     simplePhysics = new SimplePhysicsComponent(this);
     noPhysicsComponent = new NoPhysicsComponent(this);
 }
Example #2
0
        public LevelBlockShell()
            : base()
        {
            emptyController = new EmptyControllerComponent(this);
            staticGraphic = new MovingGraphics(this, "");
            noPhysicsComponent = new NoPhysicsComponent(this);

            staticGraphic.SetPositionItem(noPhysicsComponent);
        }