From c165cdfc0a0d6d5c0774e8c6033098d979572018 Mon Sep 17 00:00:00 2001 From: Jaime Humberto Macias Bustamante Date: Fri, 20 Jun 2025 15:59:31 -0700 Subject: [PATCH] another bit of documentation --- README.md | 12 ++++++++++-- hscript/CustomClass.hx | 2 -- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cc24b58..cda3a20 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,22 @@ hscript-improved How to install ``` -haxelib git hscript-improved https://github.com/FNF-CNE-Devs/hscript-improved.git +haxelib git hscript-improved https://github.com/CodenameCrew/hscript-improved.git ``` To enable custom classes support you have to do this in project.xml + ```xml ``` -Warning: custom classes are sometimes broken, would like help to fix them. You can only override functions from the current class, not from the extended part, like you cant override update in FlxText because FlxText doesnt have a update function overriden + +or set this in build.hxml + +```hxml +-D CUSTOM_CLASSES +``` + +Warning: custom class system is still in development, would like help to test it. For now, you can only override functions from the current class, not from the extended part, like you cant override update in FlxText because FlxText doesnt have a update function overriden. Also you cannot create custom classes that extends a typed class (those ones that has ``), this will be implemented in the future. ----------- diff --git a/hscript/CustomClass.hx b/hscript/CustomClass.hx index bd81652..9304c40 100644 --- a/hscript/CustomClass.hx +++ b/hscript/CustomClass.hx @@ -5,8 +5,6 @@ import haxe.Constraints.Function; using Lambda; -// TODO - /** * The Custom Class core. *