자바에 클래스 있잖아.
class Doat
int x
int y

main에서,
Doat d = new Doat(1,3)
Cha c = new Cha(pig, 12, 100)
Food f = Food(grape, 30g)
c.eat(f)


interface Do
eat()
move()

cha class, name, age, hp implements Do

eat(food, time)

calss Timestamp0

이런식으로~. 타임스탬프 변수는 로그만들어서 언제 뭘했냐를 기록~.

해봐. 시간있으면. 잼슴~~.

- dc official App