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
Copy file name to clipboardexpand all lines: README.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,9 @@ import livecoding
44
44
45
45
class MyClass(livecoding.LiveObject):
46
46
```
47
-
If you dont want to subclass LiveObject then all you have to do is take a look at that close andtry to add similar functionality to your class. Which means your class must have a class variable called ```instances```and that each time an instance is created that instance is added to that variable.
47
+
If you dont want to subclass LiveObject then all you have to do is take a look at that classandtry to add similar functionality to your class. Which means your class must have a class variable called ```instances```and that each time an instance is created that instance is added to that variable. For example
48
+
49
+
48
50
49
51
Thats all you have to do and you can code as you awlays code following whatever style you want.
0 commit comments