this.Cortana = this.Cortana || {};

(function() {
	'use strict';

	var Entity = function(args) {
		console.log(args);
		var _args = args || {};

		this.id = null;
		this.type = _args.type || null;
		this.name = _args.name || null;
		this.state = null;
		this.dirty = false;
	};

	Entity.prototype = {
		say: function(text) {
			console.log(text);
		},

		update: function(delta) {

		}
	}

	Entity.prototype.constructor = Entity;
	Cortana.Entity = Entity;
}());
@@ -220,24 +220,74 @@
 me %7C%7C null;%0A
+%09%09this.x = _args.x %7C%7C 0;%0A%09%09this.y = _args.y %7C%7C 0;%0A
 %09%09this.state
@@ -344,16 +344,116 @@
 ype = %7B%0A
+%0A%09%09init: function(x, y) %7B%0A%09%09%09console.log('init at ' + x + y);%0A%09%09%7D,%0A%0A%09%09draw: function(x, y) %7B%0A%0A%09%09%7D,%0A%0A
 %09%09say: f

entity init with x, y