Beispiel #1
0
        public Common.GameSprite Execute(ContentManager content)
        {
            var zero = new Common.GameSprite(content.Load <Texture2D>("Zero"), Vector2.Zero);

            zero.Animation = new Animation(250, 48, 48, 9);

            return(zero);
        }
Beispiel #2
0
        public Common.GameSprite Execute(ContentManager content)
        {
            var fouLu = new Common.GameSprite(content.Load <Texture2D>("Foulu"), Vector2.Zero);

            fouLu.Animation = new Animation(250, 48, 48, 5, offsetY: 48);

            return(fouLu);
        }