Newer
Older
Onitaizi / src / Ono / Story.java
@Motoki Miura Motoki Miura on 13 Feb 2022 521 bytes stories
package Ono;

public class Story {
    public static void main(String[] args) throws Exception {
       
        Megami megami = new Megami();

        //正直者の場合
        StoryTemplate shojikimono = new Shoujikimono();

        shojikimono.startStory();
        shojikimono.morauOno(megami.allonowatasu());

        System.out.println("----------------------");
       
        //嘘つきの場合
        StoryTemplate usotuki = new Usotuki();

        usotuki.startStory();
        usotuki.lostOno();
    }
}