OSDN Git Service

add ui16be method
[flapp/flapp.git] / src / shape.js
1 goog.provide('FlappShape');
2
3 goog.scope(function() {
4
5 /**
6  * @constructor
7  */
8 FlappShape = function(name, matrix, colorTransform) {
9     this.OBJECT_TYPE = 1; // 1:Shape, 2:MovieClip
10     this.canvas = document.createElement('canvas');
11     this.canvas.width = 240; // XXX
12     this.canvas.height = 240; // XXX
13     this.renderCode = "";
14 };
15
16 FlappShape.prototype = {
17     loadShapeTag: function(shape) {
18         ;
19     },
20     render: function(canvas) {
21         ;
22     }
23 };
24
25
26 FlappShape.shapetoRenderCode = function(shapeTag) {
27     ;
28 };
29
30 });