A macro defined in BBMOD_Class.gml
Must be the first line when defining a custom class!
function CSurface(_width, _height)
: BBMOD_Class() constructor
{
BBMOD_CLASS_GENERATED_BODY;
static Class_destroy = destroy;
Surface = surface_create(_width, _height);
static destroy = function ()
{
Class_destroy();
surface_free(Surface);
return undefined;
};
}
Copyright © 2023, BlueBurn. Built on May 02, 2023 using GMDoc.