Example #1
0
        private void AddPlayerDeckLocation(ICardGamePlayer player, Vector3 position, Quaternion rotation, Vector3 scale)
        {
            var model = new GameObjectTransformModel
            {
                Position = position,
                Rotation = rotation,
                Scale    = scale
            };

            m_playerDeckLocations.Add(player, model);
        }
Example #2
0
        private bool TurnUpCard(ICardObject card, GameObjectTransformModel deckTransformModel)
        {
            AddGameObjectToRenderQueue(card.CardGraphic, deckTransformModel.Position + new Vector3(25, 0), deckTransformModel.Rotation, deckTransformModel.Scale);

            return(true);
        }