view greenclab.cc @ 10:93d9db48775f default tip

Property add not move. 30%
author tkaito
date Mon, 14 Jun 2010 17:20:03 +0900
parents 581fa1888e2e
children
line wrap: on
line source

#include "game_scene01.h"

void 
gclab_move(SceneGraphPtr node, void *sgroot_, int w, int h)
{
  node->xyz[1] += 1;
  if (node->xyz[1] > h) {
    node->remove();
  }
}

void 
gclab_collision(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree)
{
}