Esempio n. 1
0
        public Ghost(Texture2D sprite, Map map, Game1 game, Girl targetChar)
            : base(sprite, map)
        {
            this.gameref = game;
            this.targetChar = targetChar;

            this.Position = new Vector2(7, 64 + 27);

            this.emotionstate = new EmotionState(new eSpace(-.2, -.2, .4, .3, -.1, .3, 0, 0));
            this.emotionstate.setStability(.02);

            PhysicalContact += hitMe;

            shader = gameref.Content.Load<Effect>("shaders/cavernShader");

            emotionstate = new EmotionState();
        }
Esempio n. 2
0
        public Girl(Texture2D sprite, Map map, Game1 game, PlayerChar targetChar)
            : base(sprite, map)
        {
            this.PhysicalContact += FoundMe;
            this.gameref = game;
            this.targetChar = targetChar;

            this.Position = new Vector2(7, 64 + 27);

            this.emotionstate = new EmotionState(new eSpace(-.2, -.2, .4, .3, -.1, .3, 0, 0));
            eSpace.Fear = -.2;
            eSpace.Anger = -.2;
            eSpace.Sadness = .4;
            eSpace.Joy = .3;
            eSpace.Disgust = -.1;
            eSpace.Trust = .3;
            addEmotion(eSpace, 100);

            shader = gameref.Content.Load<Effect>("shaders/cavernShader");

            /*
            DialogState state = new DialogState(0, "Eeek! You found me!");
            state.addResponse("Ok...",1);
            state.addResponse("Go Away Kitty...",2);
            state.addResponse("Meow meow meow mix.. !",2);
            state.addResponse("I found who?", 3);
            state.addResponse("Lets get out of here.", 4);
            state.addResponse("Yes I did", 5);
            this.Dialog.addState(state);
            state = new DialogState(1, "Lets get out of here");
            state.addResponse("Good idea",-1);
            state.addResponse("But I dont wanna!",11);
            this.Dialog.addState(state);
            state = new DialogState(2, "Ummm... who you callin kitty. Freak.");
            state.addResponse("Thats what she said", 6);
            state.addResponse("Sorry, slip of tounge. Moving on...", 7);
            state.addResponse("Well then what are you?", 3);
            state.addResponse("Your ears sure are pointy\n enough for it.", 8);
            this.Dialog.addState(state);
            state = new DialogState(3, "Me. Why are you asking that?");
            state.addResponse("Because I can",8);
            state.addResponse("Your answers suck", 9);
            state.addResponse("Because I'm a dick", 10);
            state.addResponse("*meow*", 2);
            this.Dialog.addState(state);
            state = new DialogState(4, "Good idea. Follow me!");
            state.addResponse("ok!",-1);
            state.addResponse("*me0w*", 2);
            this.Dialog.addState(state);
            state = new DialogState(5, "So what now?");
            state.addResponse("Pie",12);
            state.addResponse("Rawr",13);
            state.addResponse("lets go",4);
            this.Dialog.addState(state);
            state = new DialogState(6, "Your mom");
            state.addResponse("Kitty!",2);
            state.addResponse("Your Dad", 14);
            state.addResponse("Umm... ", 1);
            this.Dialog.addState(state);
            state = new DialogState(7, "So says the freak");
            state.addResponse("Says the one with the cat", 14);
            state.addResponse("Owww", 1);
            this.Dialog.addState(state);
            state = new DialogState(8, "Dick");
            state.addResponse("I am", 10);
            state.addResponse("Change of Subject, lets leave.", 4);
            state.addResponse("You know who else wants one?", 6);
            this.Dialog.addState(state);
            state = new DialogState(9, "Says the one asking these shitty ass questions");
            state.addResponse("Cant help it, Im scripted", 15);
            state.addResponse("Says the one... Kitty!", 2);
            state.addResponse("Ill stop the questions if you\n show me the way out?", 4);
            this.Dialog.addState(state);
            state = new DialogState(10, "Well you sure aint got one!");
            state.addResponse("Burrrn",6);
            state.addResponse("Says the kitty.", 2);
            state.addResponse("New Topic, leave?", 4);
            this.Dialog.addState(state);
            state = new DialogState(11, "Too Bad!");
            state.addResponse("Awwww", 5);
            state.addResponse("Pie", 12);
            this.Dialog.addState(state);
            state = new DialogState(12, "Pie? Where?");
            state.addResponse("Thats what she said", 8);
            state.addResponse("I ate it", 8);
            state.addResponse("The Mad Robot said to eat it.", 7);
            this.Dialog.addState(state);
            state = new DialogState(13, "Ooh! Tigers!");
            state.addResponse("And Kitties!", 2);
            state.addResponse("Another good reasion to put some\n distance between us and\n this cavern.", 4);
            this.Dialog.addState(state);
            state = new DialogState(14,"Your gross");
            state.addResponse("No you are", 7);
            state.addResponse("But I dont wanna be!", 10);
            this.Dialog.addState(state);
            state = new DialogState(15, "Then pick the right answer!");
            state.addResponse("AlphaNumeric!", 8);
            state.addResponse("Lets go...", 2);
            this.Dialog.addState(state);
             */

            emotionstate = new EmotionState();
        }