Example #1
0
    public Similarity HowSimilar(EvilGuy rhs)
    {
        Similarity amount = Similarity.NONE;


        //TODO:: shit inbetween
        //added to see if branch is working


        return(amount);
    }
Example #2
0
    public void Init(EvilGuy villain)
    {
        //Get info from the controller class
        this_villain_ = villain;                                            ///////////WARNING GARY!!!! This line may cause some memory problems

        //set the colours
        SetClothesColour();

        //update the sprites within this game object
        SetClothesColoursInChildren();
    }
Example #3
0
 private void RandomiseVillain(ref EvilGuy villain)
 {
     villain.name           = GetRandomName();
     villain.clothes_colour = (Colours)Random.Range(0, 10);
     villain.skin_colour    = (Colours)Random.Range(0, 4);
     villain.shoe_colour    = (Colours)Random.Range(0, 10);
     villain.cape_colour    = (Colours)Random.Range(0, 10);
     villain.eye_type       = Random.Range(0, num_eyes_);
     villain.hat_type       = Random.Range(0, num_hats_);
     villain.moustache_type = Random.Range(0, num_moustaches_);
     villain.weapon_type    = Random.Range(0, num_weapons_);
 }