public static GameObject CreateShankGO(ContentManager content, GraphicsDevice gd, PlayerScript playerScript)
        {
            if (shankTexture == null)
            {
                shankTexture = content.Load<Texture2D>("Pickups/Shank");
            }

            GameObject shank = new GameObject();

            shank.AddTransform();
            shank.AddStaticSprite(shankTexture);
            shank.AddRenderer(gd, SpriteTransparency.Transparent);
            shank.AddDynamicRigidBody(new Vector2(10f, 12f));
            shank.RigidBody.Body.CollidesWith = CollisionCats.WorldCategory;
            ShankScript script = new ShankScript(shank, playerScript);
            shank.AddScript(new ShankScript (shank, playerScript));
            shank.AddTrigger(new Vector2(10f, 12f));
            shank.Trigger.CollidesWith = CollisionCats.PlayerCategory;
            shank.Trigger.OnEnter += new FarseerPhysics.Dynamics.OnCollisionEventHandler(script.OnEnter);

            return shank;
        }
        public static GameObject CreateShankGO(ContentManager content, GraphicsDevice gd, PlayerScript playerScript)
        {
            if (shankTexture == null)
            {
                shankTexture = content.Load <Texture2D>("Pickups/Shank");
            }

            GameObject shank = new GameObject();

            shank.AddTransform();
            shank.AddStaticSprite(shankTexture);
            shank.AddRenderer(gd, SpriteTransparency.Transparent);
            shank.AddDynamicRigidBody(new Vector2(10f, 12f));
            shank.RigidBody.Body.CollidesWith = CollisionCats.WorldCategory;
            ShankScript script = new ShankScript(shank, playerScript);

            shank.AddScript(new ShankScript(shank, playerScript));
            shank.AddTrigger(new Vector2(10f, 12f));
            shank.Trigger.CollidesWith = CollisionCats.PlayerCategory;
            shank.Trigger.OnEnter     += new FarseerPhysics.Dynamics.OnCollisionEventHandler(script.OnEnter);

            return(shank);
        }