AIEditor.Gui.CommandDisplay.CommandDisplay C# (CSharp) Method

CommandDisplay() public method

public CommandDisplay ( ) : System
return System
        public CommandDisplay()
        {
            mLayer = SpriteManager.AddLayer();

            SpriteManager.AddPositionedObject(this);

            Texture2D texture = FlatRedBallServices.Load<Texture2D>(@"Assets\UI\LinkIcon.png", 
                "Global");

            mCreateLink = SpriteManager.AddSprite(texture, mLayer);

            mCreateLink.ScaleX = mCreateLink.ScaleY = .5f;
            mCreateLink.AttachTo(this, false);
            mCreateLink.RelativeX = -1.5f;
            mCreateLink.RelativeY = 1.5f;

        }