Panel, header, footer
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package components;
|
||||
|
||||
import openfl.display.Shape;
|
||||
|
||||
class NekoRectangle extends Shape {
|
||||
public function new(pColor:Int = 0xFF0000, pX:Int = 0, pY:Int = 0, pWidth:Int = 100, pHeight:Int = 100) {
|
||||
super();
|
||||
|
||||
graphics.beginFill(pColor);
|
||||
graphics.drawRect(pX, pY, pWidth, pHeight);
|
||||
graphics.endFill();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user