Ejemplo n.º 1
0
        public LLEEnemy(string name, int hp, Vector2 position, Assets assets)
        {
            mName = name;

            mHP = hp;

            mSprite = new LLESprite(position.X, position.Y, 0, 0, 0);

            mSprite.setTexture(assets.getTexture(mName));

            mSprite.setTextureName(mName);
        }
 public void setIcon(Assets assets, string iconName)
 {
     mIcon = assets.getTexture(iconName);
 }