Beispiel #1
0
    public void initialize(GDKnyttGame game)
    {
        Game = game;

        if (game.hasMap())
        {
            GetNode <InfoPanel>("InfoPanel").addItem("ItemInfo", (int)PowerNames.Map);
        }
    }
Beispiel #2
0
 public void initialize(GDKnyttGame game)
 {
     this.Game = game;
     this.Powers.readFromSave(Game.GDWorld.KWorld.CurrentSave);
     enableAttachment(this.Powers.Attachment);
     GetNode <StandartSoundPlayer>("Audio/StandartSoundPlayer").KWorld = game.GDWorld.KWorld;
     JuniClothes = new Color(KnyttUtil.BGRToRGBA(Game.GDWorld.KWorld.Info.Clothes));
     JuniSkin    = new Color(KnyttUtil.BGRToRGBA(Game.GDWorld.KWorld.Info.Skin));
 }
Beispiel #3
0
 public void initialize(GDKnyttGame game)
 {
     Game = game;
 }
Beispiel #4
0
 public void setWorld(GDKnyttGame game, GDKnyttWorldImpl world)
 {
     this.KWorld = world;
     this.Game   = game;
 }
Beispiel #5
0
 public void initialize(GDKnyttGame game)
 {
     this.Game = game;
     this.Powers.readFromSave(Game.GDWorld.KWorld.CurrentSave);
 }