You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 6, 2025. It is now read-only.
ZSolarDev edited this page Jan 15, 2025
·
4 revisions
LunarShape
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.
LunarRect (extends LunarShape)
A rectangle shape.
Variables:
width:Float: The width of this rectangle.
height:Float: The height of this rectangle.
LunarCircle (extends LunarShape)
A circle shape.
Variables:
radius:Float: The radius of this circle.
LunarTexture (extends LunarRect)
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.)