Exemple #1
0
        public Chicken_Egg(ThisGamesScene world)
            : base(world)
        {
            RaiseFlag(Jabber.Flags.ACCEPTINPUT);

            this.scene = world;
        }
Exemple #2
0
 public ChickenDrawer(ChicksScene scene, ThisGamesScene gamescene)
     : base("chickens")
 {
     this.scene     = scene;
     this.gamescene = gamescene;
     Layer          = SpriteLayer.LAYER10;
 }
Exemple #3
0
        public Chicken_Egg(ThisGamesScene world)
            : base(world)
        {
            RaiseFlag(Jabber.Flags.ACCEPTINPUT);

            this.scene = world;
        }
Exemple #4
0
        public Chicken_Mini_Launcher(ThisGamesScene world)
            : base(world)
        {
            EventManager.Get.RegisterListner(this);
            AccelerateAnimation = "MiniChicken_Dash_Egg";
            PhysicsRotate       = true;

            RaiseFlag(Jabber.Flags.ACCEPTINPUT);
        }
Exemple #5
0
        public Chicken(ThisGamesScene world)
            : base(75, Vector2.Zero, true, world.World, "chickens")
        {
            RaiseFlag(Jabber.Flags.ACCEPTINPUT);
            Body.Restitution = 0.5f;
            Body.Mass = 0.5f;

            PhysicsRotate = false;

            this.scene = world;
            EventManager.Get.RegisterListner(this);
        }
Exemple #6
0
        public Chicken(ThisGamesScene world)
            : base(75, Vector2.Zero, true, world.World, "chickens")
        {
            RaiseFlag(Jabber.Flags.ACCEPTINPUT);
            Body.Restitution = 0.5f;
            Body.Mass        = 0.5f;

            PhysicsRotate = false;

            this.scene = world;
            EventManager.Get.RegisterListner(this);
        }
Exemple #7
0
        public Chicken_Mini(ThisGamesScene world)
            : base(world)
        {
            world.World.MakeEntityGroup(Chicken_Mini_None_Collision);
            EventManager.Get.RegisterListner(this);
            AccelerateAnimation = "MiniChicken_Dash";

            Body.RaiseFlag(Jabber.Flags.DELETE);
            Body.CollisionGroup = Chicken_Mini_None_Collision;
            Body = world.World.CreateSphere(40.0f / 2.0f, Vector2.Zero, JabActor.BodyType.DYNAMIC);
            Body.UserData = this;
            Body.Restitution = 0.5f;
            Body.Mass = 0.5f;

            Body.Width = Body.Height = 20.0f;

            DoDimensions = true;
        }
Exemple #8
0
        public Chicken_Mini(ThisGamesScene world)
            : base(world)
        {
            world.World.MakeEntityGroup(Chicken_Mini_None_Collision);
            EventManager.Get.RegisterListner(this);
            AccelerateAnimation = "MiniChicken_Dash";

            Body.RaiseFlag(Jabber.Flags.DELETE);
            Body.CollisionGroup = Chicken_Mini_None_Collision;
            Body             = world.World.CreateSphere(40.0f / 2.0f, Vector2.Zero, JabActor.BodyType.DYNAMIC);
            Body.UserData    = this;
            Body.Restitution = 0.5f;
            Body.Mass        = 0.5f;

            Body.Width = Body.Height = 20.0f;

            DoDimensions = true;
        }
Exemple #9
0
        public Chicken_Mini_Launcher(ThisGamesScene world)
            : base(world)
        {
            EventManager.Get.RegisterListner(this);
            AccelerateAnimation = "MiniChicken_Dash_Egg";
            PhysicsRotate = true;

            RaiseFlag(Jabber.Flags.ACCEPTINPUT);
        }
Exemple #10
0
 public Chicken_Dash(ThisGamesScene world)
     : base(world)
 {
     EventManager.Get.RegisterListner(this);
 }
Exemple #11
0
 public ChickenDrawer(ChicksScene scene, ThisGamesScene gamescene)
     : base("chickens")
 {
     this.scene = scene;
     this.gamescene = gamescene;
     Layer = SpriteLayer.LAYER10;
 }
Exemple #12
0
 public DonutCase(ThisGamesScene world) : base()
 {
     this.world = world;
     Layer      = SpriteLayer.UILAYER3;
     EventManager.Get.RegisterListner(this);
 }
Exemple #13
0
 public Chicken_Dash(ThisGamesScene world)
     : base(world)
 {
     EventManager.Get.RegisterListner(this);
 }
Exemple #14
0
 public Chicken_Explode(ThisGamesScene world)
     : base(world)
 {
     RaiseFlag(Jabber.Flags.ACCEPTINPUT);
 }
Exemple #15
0
 public Chicken_Explode(ThisGamesScene world)
     : base(world)
 {
     RaiseFlag(Jabber.Flags.ACCEPTINPUT);
 }