Dim@, ага, понял и сам потестив немного). Решил, в общем, использовать фун-ю extend для наследования, но срабатывает не так как нужно:
function extend(Child, Parent) {
var F = function() { }
F.prototype = Parent.prototype
Child.prototype = new F()
Child.prototype.constructor = Child
Child.superclass = Parent.prototype
}
function Game() {
this.canvas = true;
};
Game.prototype = {
canvas : null,
play : function () {
alert("play");
}
};
function Player() {
this.object = this.canvas;
};
Player.prototype = {
object : null,
};
extend(Player, Game);
var player = new Player();
alert(player.object); // null
player.play(); // play