ソフトウェア設計及び演習用の班Wiki
gr02::ブロック
ヘッダファイル
block.h
- # ifndef _BLOCK_H_
- # define _BLOCK_H_
- # include <stdlib.h>
- # include <gtk/gtk.h>
- # include <glib/gprintf.h>
- # include <../lib/gtk_lib.h>
- # include <../animation/anime.h>
- # include <../move/event.h>
- # define KINDS_OF_BLOCKS 1
- extern gint N_block;
- void blocks_init(myAnimeArea *area, gint nballs);
- void block_new(myAnimeArea *area);
- void block_init(mySprite *sprite);
- void block_move(mySprite *sprite);
- gint block_collision(mySprite *self);
- void block_remove(mySprite *self);
- # endif
最終更新日:2014/02/12 10:47:05