Ejemplo n.º 1
0
        public Drawable(Game game,
                        Displayable displayable,
                        int parameterized)
            : base(game)
        {
            Init(parameterized);

            Visible = true;
            mDisplayable = displayable;

            mTexture = LoadTexture();

            mCurrentFrame = new Frame();
            mScale = 1.0f;
            mRotation = 0.0f;

            base.Initialize();
        }
Ejemplo n.º 2
0
 public Frame(Frame other)
 {
     mArea = new Rectangle(other.FrameArea.X, other.FrameArea.Y,
                           other.FrameArea.Width, other.FrameArea.Height);
 }