Quintus icon indicating copy to clipboard operation
Quintus copied to clipboard

isA function inheritence

Open hershko765 opened this issue 12 years ago • 0 comments

i wonder if this function suppose to support inheritence ? i did someting like that:

define(['qapp'], function(Q){ Q.Sprite.extend('Weapon', {}) });

and some weapon sprites that extends it and i extend every weapon sprite from this sprite, it would make life alot easier to be able to do the obj.isA('Weapon') on any sprites that extends this sprite

hershko765 avatar Apr 21 '14 12:04 hershko765