royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <>
Subject internal types in subclasses
Date Mon, 18 Dec 2017 15:55:43 GMT
I have a class which has an internal class for an Object definition:

class DrawRecord{
	public var rect:Rectangle;
	public var color:uint;
	public var alpha:Number;
	public var columnRect:Rectangle;

This class has a subclass which sets one of the properties in this value object (i.e. columnRect).
Internal classes are only available in the same file. Is there any trick to make the class
definition available to the subclass without making the type definition a full blown public
class in its own file?

View raw message