OSDN Git Service

- setTimeout を setInterval に変更 (SWFヘッダを読んで FrameRate が分かった時にタイマーをかけ直し)
[flapp/flapp.git] / src / dict.js
1 goog.provide('FlappDict');
2
3 goog.scope(function() {
4
5 /**
6  * @constructor
7  */
8 FlappDict = function() {
9     this.characters = {};
10 };
11
12 FlappDict.prototype = {
13     set: function(id, tag) {
14         this.characters[tag.id] = tag;
15     },
16     get: function(id) {
17         return this.characters[id];
18     }
19 };
20
21 });