Exemplo n.º 1
0
 public void createCard(FilmData data)
 {
     FilmCard fc = new FilmCard(new Vector2(gameController._WIDTH * 0.2f + 10, 0 + 10), new Vector2(gameController._WIDTH - (gameController._WIDTH * 0.2f) - 20, gameController._HEIGHT - 20), gameController);
     fc.setFilmData(data);
     cards.Add(fc);
     cardIndex = cards.Count -1;
 }
Exemplo n.º 2
0
        public void createCard(FilmData data)
        {
            FilmCard fc = new FilmCard(new Vector2(gameController._WIDTH * 0.2f + 10, 0 + 10), new Vector2(gameController._WIDTH - (gameController._WIDTH * 0.2f) - 20, gameController._HEIGHT - 20), gameController);

            fc.setFilmData(data);
            cards.Add(fc);
            cardIndex = cards.Count - 1;
        }