/*
 * Copyright [yyyy] [name of copyright owner]
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

window.h5glib.loadDataCB(
{
	baseUrl	: "fireman",
	map :
	[
		[0,0,0,0,0,0,0,0],
		[0,0,0,0,0,0,0,0],
		[0,0,0,0,0,0,0,0],
		[0,0,0,0,0,0,0,0],
		[0,0,0,0,0,0,0,0],
		[0,0,0,0,0,0,0,0]
	],
	actors :
	[
		{
			type : 0,
			status : 1,
			x : 2.5, y : 2.5, z : 1, dir : 2
		},
		{
			type : 1,
			status : 1,
			x : 3.5, y : 3.5, z : 1, dir : 2
		},
		{
			type : 2,
			status : 1,
			x : 4.5, y : 3.5, z : 1, dir : 2
		},
		{
			type : 2,
			status : 1,
			x : 5.5, y : 2.5, z : 1, dir : 2
		},
		{
			type : 3,
			status : 1,
			x : 5.5, y : 3.5, z : 1, dir : 2
		},
		{
			type : 3,
			status : 1,
			x : 6.5, y : 3.5, z : 1, dir : 2
		}
	],
	resource :
	{
		image	:
		{
			actors	:
			[
				{ name : "actor_t0.png" },
				{ name : "actor_t1.png" },
				{ name : "actor_t2.png" },
				{ name : "actor_t3.png" }
			]
		},
		sound	:
		{
			fire	: { name : "fire.ogg" },
			water	: { name : "water.ogg" }
		}
	},
	animation :
	{
		actorAction :
		{
			frameCount : 9, fw : 48, fh : 64,
			frames : { 0 : { x : 0, y : 0 }, 3 : { x : 1, y : 0 }, 6 : { x : 2, y : 0 }  }
		}
	}
});
