From "BaseScreenComponent.cs":
Code: Select all
/// <summary>
/// Gets position relative to parent panel.
/// </summary>
public virtual Vector2 Position
{
get { return position; }
internal set { position = value; }
}
/// <summary>
/// Gets size of component.
/// </summary>
public virtual Vector2 Size
{
get { return size; }
internal set { size = value; }
}
Code: Select all
/*Vector2 size;
public override Vector2 Size
{
get { return size; }
set { size = value; }
}*/
Oh yeah, and the reason that the internal part is not allowing my derived class to access that set is because of this apparently, "The Internal modifier means that the symbol can only be accessed from within the same assembly. Only code that is compiled into the same DLL as your code can access your properties or methods that are tagged with internal."
As noted in this post: https://stackoverflow.com/questions/444 ... n-assembly
Sorry if this is a bit dis-organized, but hopefully what i'm asking makes sense and what i'm having issues with in this regard, thanks for your time.