Esempio n. 1
0
        public void Execute(IGameObject gameObject, IGameObject collidedWith)
        {
            Samus samus = (Samus)gameObject;

            samus.TakeDamage(collidedWith);
            Game1.GetLevel().Destroy(collidedWith);
        }
        public void Execute(IGameObject gameObject, IGameObject collidedWith)
        {
            Samus samus = (Samus)gameObject;

            samus.TakeDamage(collidedWith);
        }