-
Notifications
You must be signed in to change notification settings - Fork 0
LunarShape
ZSolarDev edited this page Jan 15, 2025
·
4 revisions
A base shape. (DO NOT USE THIS IF YOU WANT THIS SHAPE TO RENDER!!! ONLY USE CLASSES THAT EXTEND LUNARSHAPE!!!)
Variables:
- color:Int: The color of this shape.
- shapeType(default, null):LunarShapeType: The type of shape this shape is.
- alpha(default, set):Int: the alpha of this shape. (0-256)
Functions:
- copy(): Returns a copy of this shape.
A rectangle shape.
Variables:
- width:Float: The width of this rectangle.
- height:Float: The height of this rectangle.
A circle shape.
Variables:
- radius:Float: The radius of this circle.
A texture.
Variables:
- texPath:String: The path to the texture.
- graphicStorage:LunarVarAbstract: The storage for the graphic of the texture. (acess it with graphicStorage.graphic. on HaxeFlixel, graphicStorage.graphic is a FlxGraphic.)