コード例 #1
0
        public Actor(PortraitPackage myPackage, Emotion myEmotion, int mySlot,Vector2[] myActorPositions, Boolean myIsSpeaker)
        {
            actorPositions = myActorPositions;

            portraitPackage = myPackage;
            emotion = myEmotion;
            isSpeaker = myIsSpeaker;

            slot = mySlot;
            position = actorPositions[slot];

            //if (mySlot == 0)
            //{
            //    slot = ChatSlot.Left;
            //}
            //else if(mySlot == 1)
            //{
            //    slot = ChatSlot.LeftCenter;
            //}
            //else if (mySlot == 2)
            //{
            //    slot = ChatSlot.RightCenter;
            //}
            //else
            //{
            //    slot = ChatSlot.Right;
            //}
        }
コード例 #2
0
 public void SetPortraitPackage(PortraitPackage myPackage)
 {
     portraitPackage = myPackage;
 }