2017 ソフトウェア設計及び演習用の班Wiki

17::g04::発表::ヘッダーファイル::ball

#pragma once # ifndef _BALL_H_ # define _BALL_H_

# include <stdlib.h> # include <gtk/gtk.h> # include <glib/gprintf.h>

# include <gtk_lib.h>

# include <anime.h>
# include <event.h>


extern gint N_balls;





void balls_init(myAnimeArea *area, gint nballs);
//mySprite *ball_new(myAnimeArea *area);
void ball_new(myAnimeArea *area);
void ball_init(mySprite *sprite);
void ball_move(mySprite *sprite);
gint ball_collision(mySprite *self);
void ball_remove(mySprite *self);
gint ball_is_clicked(gpointer area);
# endif 


最終更新日:2017/08/04 11:43:41