view TaskManager/Test/test_render/snake_bg.cpp @ 146:2284efc89f63

TileList の生成の修正
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Tue, 02 Dec 2008 14:12:01 +0900
parents 58eacf676bb5
children bbf774c57544
line wrap: on
line source

#include "SceneGraph.h"
#include "xml_file/snake576x384.h"

static void snake_move(SceneGraphPtr node, int screen_w, int screen_h);
static void snake_collision(SceneGraphPtr node, int screen_w, int screen_h,
			    SceneGraphPtr tree);

static void
snake_move(SceneGraphPtr node, int screen_w, int screen_h)
{
}

static void
snake_collision(SceneGraphPtr node, int screen_w, int screen_h,
	       SceneGraphPtr tree)
{
}

void
create_snake_bg(void)
{
    SceneGraph::createFromXMLfile("xml_file/snake576x384.xml");
    Plane->set_move_collision(snake_move, snake_collision);
}