摘要: 首先,我为动画精灵创建一个类 1: public class AnimatedSprite 2: { 3: Point _frameSize; 4: int _currentFrame; 5: private readonly int _frame = 4; 6: private readonly Texture2D _sprite; 7: public AnimatedSprite(Texture2D texture, int fra... 阅读全文
posted @ 2011-12-30 21:45 tiny羊 阅读(391) 评论(0) 推荐(0)