public override bool Remove()
 {
     this.mouseOverState = null;
     return(base.Remove());
 }
 public UIObject(string id, ActorType actorType, StatusType statusType, Transform2D transform,
                 Color color, SpriteEffects spriteEffects, float layerDepth)
     : base(id, actorType, transform, statusType, color, spriteEffects, layerDepth)
 {
     this.mouseOverState = new StatefulBool(2);
 }