Commit Graph

181 Commits

Author SHA1 Message Date
kikito
7cdf87ff65 updated Rakefile to new telescope. Started MindState tests 2010-08-05 01:41:30 +02:00
kikito
8dc1f163cd added tests for mixins. MiccleClass tests are now RC 1 2010-08-02 16:51:30 +02:00
kikito
11997fa732 all metamethods working except __len (which is not feasible on tables anyway) 2010-08-02 01:25:33 +02:00
kikito
a227c23fc7 all metamethods working except __pow and __len, for some reason 2010-07-31 05:24:48 +02:00
kikito
16ccfed92c added test README 2010-07-29 01:26:59 +02:00
kikito
d180d7a24f added more tests 2010-07-29 01:18:11 +02:00
kikito
0c5b65c1a2 moved files to src. updated testing rakefile and tests 2010-07-28 01:32:10 +02:00
kikito
0c611e6ae5 Added some tests. Still missing a lot of them 2010-07-23 00:56:40 +02:00
kikito
64f2d89281 removed getterSetters from main MiddleClass (use a mixin instead). Added destroy. Fixed bug with destroying stateful objects 2010-07-14 15:19:17 +02:00
kikito
bf24742c9c updated README 2010-04-22 00:09:24 +02:00
kikito
49dd4929a7 updated README 2010-04-22 00:08:02 +02:00
kikito
b8e1f538fb added README 2010-04-22 00:06:04 +02:00
kikito
940a2b47f8 Updated MiddleClass in order to comply with naming conventions.
Fixed several bugs on MindState
2010-03-23 23:18:32 +00:00
kikito
1d243b86de MiddleClass: (UNTESTED) fixed __call so it calls subclass' implementation of new instead of Object.new 2010-02-14 23:37:21 +00:00
kikito
e06b0c16d7 MindState: Untested attempt at adding stackable states 2010-02-14 23:37:10 +00:00
kikito
5b1a437780 MiddleClass: added parameters to includes/included 2010-02-14 18:52:47 +00:00
kikito
df05036c61 MiddleClass: fixed nonworking implicit instantiation (Object() instead of Object:new()) 2010-02-13 17:32:37 +00:00
kikito
b9248f5cc1 middleclass: changed super(self, ...) to super.method(self, ...) 2010-02-07 15:52:00 +00:00
kikito
46820474a8 mindstate: fixed error when gotoState(nil) 2010-02-06 19:50:17 +00:00
kikito
4ffe20574f Removed unnecessary do...end. local variables are visible only within their files. 2010-01-26 23:44:44 +00:00
kikito
5e1dc8a777 Simplified MiddleClass' internal capitalization function 2010-01-26 23:41:02 +00:00
kikito
b9eb2813a5 Added setterFor & getterFor methods 2010-01-15 23:42:20 +00:00
kikito
395e2d7498 Added initial version of MindState.lua 2009-12-27 22:16:41 +00:00
kikito
226121bb49 added getters/setters 2009-12-27 22:15:01 +00:00
kikito
fe77227db0 Changed init to initialize
Fixed bug on subclassOf
2009-12-06 16:08:58 +00:00
kikito
78afebdf79 changed init to initialize 2009-11-08 17:13:36 +00:00
kikito
08e64da93a bugfix: class's __index needed a bit more of complexity 2009-11-06 16:39:11 +00:00
kikito
27841298d6 Added __classDict in order to make the super() function work.
made has been renamed to instanceOf and made an external function
subclassOf has been made an external function
2009-11-06 16:09:35 +00:00
kikito
e81eed41c9 [non-working]removed unused functions 2009-11-03 09:04:11 +00:00
kikito
df19e255f9 [non-working] removed instanceMethods 2009-11-03 09:02:22 +00:00
kikito
d3667876f0 first version 2009-10-31 01:14:20 +00:00