A B C D E F G H I L M N O P Q R S T U V W 
All Classes All Packages

A

actionBattleOptionsFragmentToBattleFragment() - Static method in class edu.cnm.deepdive.cardcombat.controller.BattleOptionsFragmentDirections
 
actionBattleOptionsFragmentToMainScreenFragment() - Static method in class edu.cnm.deepdive.cardcombat.controller.BattleOptionsFragmentDirections
 
actionDeckEditorFragmentToMainScreenFragment() - Static method in class edu.cnm.deepdive.cardcombat.controller.DeckEditorFragmentDirections
 
actionMainScreenFragmentToBattleOptionsFragment() - Static method in class edu.cnm.deepdive.cardcombat.controller.MainScreenFragmentDirections
 
actionMainScreenFragmentToDeckEditorFragment() - Static method in class edu.cnm.deepdive.cardcombat.controller.MainScreenFragmentDirections
 
actionMainScreenFragmentToQrCodeFragment() - Static method in class edu.cnm.deepdive.cardcombat.controller.MainScreenFragmentDirections
 
actionQrCodeFragmentToMainScreenFragment() - Static method in class edu.cnm.deepdive.cardcombat.controller.QrCodeFragmentDirections
 
ActivityLoginBinding - Class in edu.cnm.deepdive.cardcombat.databinding
 
ActivityNavigationBinding - Class in edu.cnm.deepdive.cardcombat.databinding
 
ADD_CRITICAL - edu.cnm.deepdive.cardcombat.model.type.Skill
 
APPLICATION_ID - Static variable in class edu.cnm.deepdive.cardcombat.BuildConfig
 
ASSASSIN - edu.cnm.deepdive.cardcombat.model.type.Unit
 
ASSASSINATE - edu.cnm.deepdive.cardcombat.model.type.Skill
 
AttackCard - Class in edu.cnm.deepdive.cardcombat.model.entity
Holds data in the database for attack cards.
AttackCard() - Constructor for class edu.cnm.deepdive.cardcombat.model.entity.AttackCard
 
AttackCardDao - Interface in edu.cnm.deepdive.cardcombat.model.dao
 
AttackType - Enum in edu.cnm.deepdive.cardcombat.model.type
The type of attack that the attack card will be.

B

BattleFragment - Class in edu.cnm.deepdive.cardcombat.controller
The battle option fragment is where the user will play with their deck against the computer's deck.
BattleFragment() - Constructor for class edu.cnm.deepdive.cardcombat.controller.BattleFragment
 
BattleOptionsFragment - Class in edu.cnm.deepdive.cardcombat.controller
The battle options fragment contains where the user will choose which deck the user will play the computer with and which deck the computer will play with.
BattleOptionsFragment() - Constructor for class edu.cnm.deepdive.cardcombat.controller.BattleOptionsFragment
 
BattleOptionsFragmentDirections - Class in edu.cnm.deepdive.cardcombat.controller
 
BERSERKER - edu.cnm.deepdive.cardcombat.model.type.Unit
 
bind(View) - Static method in class edu.cnm.deepdive.cardcombat.databinding.ActivityLoginBinding
 
bind(View) - Static method in class edu.cnm.deepdive.cardcombat.databinding.ActivityNavigationBinding
 
bind(View) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentBattleBinding
 
bind(View) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentBattleOptionsBinding
 
bind(View) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentDeckEditorBinding
 
bind(View) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentMainScreenBinding
 
bind(View) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentQrCodeBinding
 
BLUE - edu.cnm.deepdive.cardcombat.model.type.AttackType
 
BUILD_TYPE - Static variable in class edu.cnm.deepdive.cardcombat.BuildConfig
 
BuildConfig - Class in edu.cnm.deepdive.cardcombat
 
BuildConfig() - Constructor for class edu.cnm.deepdive.cardcombat.BuildConfig
 
bytesToUUID(byte[]) - Static method in class edu.cnm.deepdive.cardcombat.service.CardCombatDatabase.Converters
Converts a byte into a UUID object.

C

CardCombatApplication - Class in edu.cnm.deepdive.cardcombat
This class serves as the entry point for the ScaleScroller application.
CardCombatApplication() - Constructor for class edu.cnm.deepdive.cardcombat.CardCombatApplication
 
CardCombatDatabase - Class in edu.cnm.deepdive.cardcombat.service
The CardCombat Database provides abstract methods that return the DAOs for each entity.
CardCombatDatabase() - Constructor for class edu.cnm.deepdive.cardcombat.service.CardCombatDatabase
 
CardCombatDatabase.Converters - Class in edu.cnm.deepdive.cardcombat.service
Provides type converters to translate Java objects into data that can be stored in the SQLite database.
CHARIOTEER - edu.cnm.deepdive.cardcombat.model.type.Unit
 
completeSignIn(Intent) - Method in class edu.cnm.deepdive.cardcombat.service.GoogleSignInService
Completes the signin process and sets the account.
computerDeckList - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentBattleOptionsBinding
 
Converters() - Constructor for class edu.cnm.deepdive.cardcombat.service.CardCombatDatabase.Converters
 
createInstance() - Static method in class edu.cnm.deepdive.cardcombat.controller.BattleFragment
 
createInstance() - Static method in class edu.cnm.deepdive.cardcombat.controller.BattleOptionsFragment
 
createInstance() - Static method in class edu.cnm.deepdive.cardcombat.controller.DeckEditorFragment
 
createInstance() - Static method in class edu.cnm.deepdive.cardcombat.controller.MainScreenFragment
 
createInstance() - Static method in class edu.cnm.deepdive.cardcombat.controller.QrCodeFragment
 

D

DEBUG - Static variable in class edu.cnm.deepdive.cardcombat.BuildConfig
 
Deck - Class in edu.cnm.deepdive.cardcombat.model.entity
Holds data in the database for available decks to be used.
Deck() - Constructor for class edu.cnm.deepdive.cardcombat.model.entity.Deck
 
DeckDao - Interface in edu.cnm.deepdive.cardcombat.model.dao
Provides an interface with methods that perform actions on the Deck table of the database.
DeckEditorFragment - Class in edu.cnm.deepdive.cardcombat.controller
The deck editor fragment is where the user will be able to create and edit their decks.
DeckEditorFragment() - Constructor for class edu.cnm.deepdive.cardcombat.controller.DeckEditorFragment
 
DeckEditorFragmentDirections - Class in edu.cnm.deepdive.cardcombat.controller
 
DeckRepository - Class in edu.cnm.deepdive.cardcombat.service
DeckRepository contains methods that provide a layer of abstraction above the DeckDao, and allows for creation, reading, updating, and deleting of decks.
DeckRepository(Context) - Constructor for class edu.cnm.deepdive.cardcombat.service.DeckRepository
The constructor initializes the context, the database, and the dao.
delete(AttackCard) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.AttackCardDao
Deletes a single attack card from the database.
delete(AttackCard...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.AttackCardDao
Deletes multiple attack card from the database.
delete(Deck) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.DeckDao
Deletes a single deck from the database.
delete(Deck) - Method in class edu.cnm.deepdive.cardcombat.service.DeckRepository
Deletes a deck in the database.
delete(Deck...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.DeckDao
Deletes multiple decks from the database.
delete(Game) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.GameDao
Deletes a single game from the database.
delete(Game) - Method in class edu.cnm.deepdive.cardcombat.service.GameRepository
Deletes a scale record in the database.
delete(Game...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.GameDao
Deletes multiple games from the database.
delete(UnitCard) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UnitCardDao
Deletes a single unit card from the database.
delete(UnitCard...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UnitCardDao
Deletes multiple unit cards from the database.
delete(User) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UserDao
Deletes a single user from the database.
delete(User) - Method in class edu.cnm.deepdive.cardcombat.service.UserRepository
Deletes a user record in the database.
delete(User...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UserDao
Deletes multiple users from the database.
delete(Collection<AttackCard>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.AttackCardDao
Deletes multiple attack card from the database.
delete(Collection<Deck>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.DeckDao
Deletes multiple deck from the database.
delete(Collection<Game>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.GameDao
Deletes multiple games from the database.
delete(Collection<UnitCard>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UnitCardDao
Deletes multiple unit cards from the database.
delete(Collection<User>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UserDao
Deletes multiple users from the database.
DOUBLE_DAMAGE - edu.cnm.deepdive.cardcombat.model.type.Skill
 
DRAGOON - edu.cnm.deepdive.cardcombat.model.type.Unit
 

E

edu.cnm.deepdive.cardcombat - package edu.cnm.deepdive.cardcombat
 
edu.cnm.deepdive.cardcombat.controller - package edu.cnm.deepdive.cardcombat.controller
 
edu.cnm.deepdive.cardcombat.databinding - package edu.cnm.deepdive.cardcombat.databinding
 
edu.cnm.deepdive.cardcombat.model.dao - package edu.cnm.deepdive.cardcombat.model.dao
 
edu.cnm.deepdive.cardcombat.model.entity - package edu.cnm.deepdive.cardcombat.model.entity
 
edu.cnm.deepdive.cardcombat.model.type - package edu.cnm.deepdive.cardcombat.model.type
 
edu.cnm.deepdive.cardcombat.service - package edu.cnm.deepdive.cardcombat.service
 
edu.cnm.deepdive.cardcombat.viewmodel - package edu.cnm.deepdive.cardcombat.viewmodel
 

F

findByAttackCardId(long) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.AttackCardDao
Queries the database for a specific attack card, based on id.
findByDeckId(long) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.DeckDao
Queries the database for a specific deck, based on id.
findByDeckId(long) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UnitCardDao
Queries the database for all unit cards based on deck.
findByGameId(long) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.GameDao
Queries the database for a specific game, based on id.
findByOauthKey(String) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UserDao
Queries the database for a specific user, based on OAuth key.
findByPlayerDeckId(long) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.GameDao
Queries the database for all scales, based on player's deck id.
findByUnitCardId(long) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.AttackCardDao
Queries the database for all attack cards.
findByUnitCardId(long) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UnitCardDao
Queries the database for a specific unit card, based on id.
findByUserId(long) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UserDao
Queries the database for a specific user, based on id.
FragmentBattleBinding - Class in edu.cnm.deepdive.cardcombat.databinding
 
FragmentBattleOptionsBinding - Class in edu.cnm.deepdive.cardcombat.databinding
 
FragmentDeckEditorBinding - Class in edu.cnm.deepdive.cardcombat.databinding
 
FragmentMainScreenBinding - Class in edu.cnm.deepdive.cardcombat.databinding
 
FragmentQrCodeBinding - Class in edu.cnm.deepdive.cardcombat.databinding
 

G

Game - Class in edu.cnm.deepdive.cardcombat.model.entity
Holds data in the database for the current game to use.
Game() - Constructor for class edu.cnm.deepdive.cardcombat.model.entity.Game
 
GameDao - Interface in edu.cnm.deepdive.cardcombat.model.dao
Provides an interface with methods that perform actions on the Game table of the database.
GameRepository - Class in edu.cnm.deepdive.cardcombat.service
GameRepository contains methods that provide a layer of abstraction above the GameDao, and allows for creation, reading, updating, and deleting of attempts.
GameRepository(Context) - Constructor for class edu.cnm.deepdive.cardcombat.service.GameRepository
The constructor initializes the context, the database, and the dao.
generateCodeButton - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentDeckEditorBinding
 
get(long) - Method in class edu.cnm.deepdive.cardcombat.service.DeckRepository
Returns LiveData of a deck, given its id.
get(long) - Method in class edu.cnm.deepdive.cardcombat.service.GameRepository
Returns LiveData of a game, given its id.
get(long) - Method in class edu.cnm.deepdive.cardcombat.service.UserRepository
Returns LiveData on a user, given their id.
getAccount() - Method in class edu.cnm.deepdive.cardcombat.service.GoogleSignInService
Returns the current Google Sign In account.
getAttack() - Method in enum edu.cnm.deepdive.cardcombat.model.type.Unit
Returns the value of the unit card's attack value.
getAttackCardDao() - Method in class edu.cnm.deepdive.cardcombat.service.CardCombatDatabase
Returns the AttackCardDao.
getAttackType() - Method in class edu.cnm.deepdive.cardcombat.model.entity.AttackCard
Returns the attack type of the attack card: an enumerated type from the AttackType enum.
getAttackValueModifier() - Method in enum edu.cnm.deepdive.cardcombat.model.type.AttackType
Gets the number that the unit card's attack value will be modified by.
getComputerCriticalChance() - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Returns the current critical chance that the computer has for the turn.
getComputerDeckId() - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Returns the computer's deck id of the game.
getCost() - Method in enum edu.cnm.deepdive.cardcombat.model.type.Skill
Returns how many magic points the skill will cost to activate
getCriticalChanceDieSides() - Method in enum edu.cnm.deepdive.cardcombat.model.type.Unit
Returns the value of the amount of sides to the die that will determine how much critical hit chance the user will have during their next attack.
getCurrentHitPoints() - Method in class edu.cnm.deepdive.cardcombat.model.entity.UnitCard
Returns the current hit points of the unit card.
getCurrentMagicPoints() - Method in class edu.cnm.deepdive.cardcombat.model.entity.UnitCard
Returns the current magic points of the unit card.
getDeckDao() - Method in class edu.cnm.deepdive.cardcombat.service.CardCombatDatabase
Returns the DeckDao.
getDeckId() - Method in class edu.cnm.deepdive.cardcombat.model.entity.UnitCard
Returns the deck id for the unit card.
getGameDao() - Method in class edu.cnm.deepdive.cardcombat.service.CardCombatDatabase
Returns the GameDao.
getId() - Method in class edu.cnm.deepdive.cardcombat.model.entity.AttackCard
Returns the auto-generated id for the attack card.
getId() - Method in class edu.cnm.deepdive.cardcombat.model.entity.Deck
Returns the auto-generated id for the deck.
getId() - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Returns the auto-generated id for the scale.
getId() - Method in class edu.cnm.deepdive.cardcombat.model.entity.UnitCard
Returns the auto-generated id for the unit card.
getId() - Method in class edu.cnm.deepdive.cardcombat.model.entity.User
Returns the auto-generated id for the player.
getInstance() - Static method in class edu.cnm.deepdive.cardcombat.service.CardCombatDatabase
Returns an instance of the singleton database.
getInstance() - Static method in class edu.cnm.deepdive.cardcombat.service.GoogleSignInService
Returns an instance of the singleton GoogleSignInService.
getMagicChanceDieSides() - Method in enum edu.cnm.deepdive.cardcombat.model.type.Unit
Returns the value of the amount of sides to the die that will determine how many magic points the unit card will receive.
getMaxMp() - Method in enum edu.cnm.deepdive.cardcombat.model.type.Unit
Returns the maximum amount of hit points the unit card can have.
getName() - Method in class edu.cnm.deepdive.cardcombat.model.entity.Deck
Returns the name for the deck.
getOauthKey() - Method in class edu.cnm.deepdive.cardcombat.model.entity.User
Returns the OAuth key for the player
getOrCreate(GoogleSignInAccount) - Method in class edu.cnm.deepdive.cardcombat.service.UserRepository
Creates a player record in the database given a Google Sign In account.
getPlayerCriticalChance() - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Returns the current critical chance that the player has for the turn.
getPlayerDeckId() - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Returns the player's deck id of the game.
getQrCode() - Method in class edu.cnm.deepdive.cardcombat.model.entity.Deck
Returns the qr code associated with the deck.
getRoot() - Method in class edu.cnm.deepdive.cardcombat.databinding.ActivityLoginBinding
 
getRoot() - Method in class edu.cnm.deepdive.cardcombat.databinding.ActivityNavigationBinding
 
getRoot() - Method in class edu.cnm.deepdive.cardcombat.databinding.FragmentBattleBinding
 
getRoot() - Method in class edu.cnm.deepdive.cardcombat.databinding.FragmentBattleOptionsBinding
 
getRoot() - Method in class edu.cnm.deepdive.cardcombat.databinding.FragmentDeckEditorBinding
 
getRoot() - Method in class edu.cnm.deepdive.cardcombat.databinding.FragmentMainScreenBinding
 
getRoot() - Method in class edu.cnm.deepdive.cardcombat.databinding.FragmentQrCodeBinding
 
getSkills() - Method in enum edu.cnm.deepdive.cardcombat.model.type.Unit
Returns the skills that the unit card will have access to.
getStartingHp() - Method in enum edu.cnm.deepdive.cardcombat.model.type.Unit
Returns the hit points that the unit card will have at the start of the game.
getUnit() - Method in class edu.cnm.deepdive.cardcombat.model.entity.UnitCard
Returns the unit of the unit card (SWORDMASTER, DRAGOON, etc.): an enumerated type from the Unit enum.
getUnitCardDao() - Method in class edu.cnm.deepdive.cardcombat.service.CardCombatDatabase
Returns the UnitCardDao.
getUnitCardId() - Method in class edu.cnm.deepdive.cardcombat.model.entity.AttackCard
Returns the unit card id of the attack card.
getUserDao() - Method in class edu.cnm.deepdive.cardcombat.service.CardCombatDatabase
Returns the UserDao.
getUserId() - Method in class edu.cnm.deepdive.cardcombat.model.entity.Deck
Returns the user id for the deck.
getUserId() - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Returns the user id of the game.
GoogleSignInService - Class in edu.cnm.deepdive.cardcombat.service
The GoogleSignInService class provides methods that allow the app to use Google Sign In to get user information and to associate users with players in the database.
GREEN - edu.cnm.deepdive.cardcombat.model.type.AttackType
 
guideline - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentDeckEditorBinding
 

H

HEAL - edu.cnm.deepdive.cardcombat.model.type.Skill
 

I

inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.cardcombat.databinding.ActivityLoginBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.cardcombat.databinding.ActivityNavigationBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentBattleBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentBattleOptionsBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentDeckEditorBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentMainScreenBinding
 
inflate(LayoutInflater) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentQrCodeBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.cardcombat.databinding.ActivityLoginBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.cardcombat.databinding.ActivityNavigationBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentBattleBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentBattleOptionsBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentDeckEditorBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentMainScreenBinding
 
inflate(LayoutInflater, ViewGroup, boolean) - Static method in class edu.cnm.deepdive.cardcombat.databinding.FragmentQrCodeBinding
 
insert(AttackCard) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.AttackCardDao
Inserts a single attack card into the database.
insert(AttackCard...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.AttackCardDao
Inserts multiple attack cards into the database.
insert(Deck) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.DeckDao
Inserts a single deck into the database.
insert(Deck...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.DeckDao
Inserts multiple decks into the database.
insert(Game) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.GameDao
Inserts a single game into the database.
insert(Game...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.GameDao
Inserts multiple games into the database.
insert(UnitCard) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UnitCardDao
Inserts a single unit card into the database.
insert(UnitCard...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UnitCardDao
Inserts multiple unit cards into the database.
insert(User) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UserDao
Inserts a single user into the database.
insert(User...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UserDao
Inserts multiple users into the database.
insert(Collection<AttackCard>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.AttackCardDao
Inserts multiple attack cards into the database.
insert(Collection<Deck>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.DeckDao
Inserts multiple decks into the database.
insert(Collection<Game>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.GameDao
Inserts multiple games into the database.
insert(Collection<UnitCard>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UnitCardDao
Inserts multiple unit cards into the database.
insert(Collection<User>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UserDao
Inserts multiple users into the database.
integerToType(Integer) - Static method in enum edu.cnm.deepdive.cardcombat.model.type.AttackType
 
integerToUnit(Integer) - Static method in enum edu.cnm.deepdive.cardcombat.model.type.Unit
 
isAllowsCriticalRoll() - Method in enum edu.cnm.deepdive.cardcombat.model.type.AttackType
Returns true if the card is green to allow the attack card to increase the unit card's critical chance value.
isAllowsMagicRoll() - Method in enum edu.cnm.deepdive.cardcombat.model.type.AttackType
Returns true if the card is blue to allow the attack card to increase the unit card's magic points.
isComputerUnitsAlive() - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Returns a boolean that sees if the computer's units are still alive in the game.
isPlayerUnitsAlive() - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Returns a boolean that sees if the player's units are still alive in the game.

L

LoginActivity - Class in edu.cnm.deepdive.cardcombat.controller
The launcher activity that allows the user to sign in with Google Sign In.
LoginActivity() - Constructor for class edu.cnm.deepdive.cardcombat.controller.LoginActivity
 

M

MainScreenFragment - Class in edu.cnm.deepdive.cardcombat.controller
The main screen fragment is the main navigation hub, and allows the user to go to battle options, qr code, deck editor, or logout.
MainScreenFragment() - Constructor for class edu.cnm.deepdive.cardcombat.controller.MainScreenFragment
 
MainScreenFragmentDirections - Class in edu.cnm.deepdive.cardcombat.controller
 
MainViewModel - Class in edu.cnm.deepdive.cardcombat.viewmodel
Serves as the ViewModel for all fragments except the GameFragment.
MainViewModel(Application) - Constructor for class edu.cnm.deepdive.cardcombat.viewmodel.MainViewModel
The constructor initializes repositories, services, and other elements needed by the ViewModel.
MARKSMAN - edu.cnm.deepdive.cardcombat.model.type.Unit
 

N

NavigationActivity - Class in edu.cnm.deepdive.cardcombat.controller
The main activity hosts all of the fragments needed for navigation.
NavigationActivity() - Constructor for class edu.cnm.deepdive.cardcombat.controller.NavigationActivity
 
navToBattleButton - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentBattleOptionsBinding
 
navToBattleOptionsButton - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentMainScreenBinding
 
navToEditorButton - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentMainScreenBinding
 
navToMainButton - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentBattleOptionsBinding
 
navToMainButton - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentDeckEditorBinding
 
navToMainButton - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentQrCodeBinding
 
navToQrButton - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentMainScreenBinding
 

O

onActivityResult(int, int, Intent) - Method in class edu.cnm.deepdive.cardcombat.controller.LoginActivity
Completes signin, if possible.
onCreate() - Method in class edu.cnm.deepdive.cardcombat.CardCombatApplication
onCreate(Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.BattleFragment
 
onCreate(Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.BattleOptionsFragment
 
onCreate(Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.DeckEditorFragment
 
onCreate(Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.LoginActivity
 
onCreate(Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.MainScreenFragment
 
onCreate(Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.NavigationActivity
Inflates the xml file and sets the content view.
onCreate(Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.QrCodeFragment
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.BattleFragment
Initializes display text and navigation.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.BattleOptionsFragment
Initializes display text and navigation.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.DeckEditorFragment
 
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.MainScreenFragment
Initializes display text and navigation.
onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.QrCodeFragment
Initializes display text and navigation.
onViewCreated(View, Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.BattleFragment
 
onViewCreated(View, Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.BattleOptionsFragment
 
onViewCreated(View, Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.DeckEditorFragment
 
onViewCreated(View, Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.MainScreenFragment
 
onViewCreated(View, Bundle) - Method in class edu.cnm.deepdive.cardcombat.controller.QrCodeFragment
 

P

playerDeckList - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentBattleOptionsBinding
 

Q

QrCodeFragment - Class in edu.cnm.deepdive.cardcombat.controller
The qr code fragment is the that will allow the user to scan qr codes using the device's camera.
QrCodeFragment() - Constructor for class edu.cnm.deepdive.cardcombat.controller.QrCodeFragment
 
QrCodeFragmentDirections - Class in edu.cnm.deepdive.cardcombat.controller
 
qrScannerButton - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentQrCodeBinding
 

R

RED - edu.cnm.deepdive.cardcombat.model.type.AttackType
 
refresh() - Method in class edu.cnm.deepdive.cardcombat.service.GoogleSignInService
Refreshes the signin with Google.

S

save(Deck) - Method in class edu.cnm.deepdive.cardcombat.service.DeckRepository
Creates or updates a deck in the database.
save(Game) - Method in class edu.cnm.deepdive.cardcombat.service.GameRepository
Creates or updates a game record in the database.
save(User) - Method in class edu.cnm.deepdive.cardcombat.service.UserRepository
Creates or updates a player record in the database.
saveDeckButton - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentDeckEditorBinding
 
setAttackType(AttackType) - Method in class edu.cnm.deepdive.cardcombat.model.entity.AttackCard
Sets the attack type of the attack card: an enumerated type from the AttackType enum.
setComputerCriticalChance(int) - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Sets the current critical chance that the computer has for the turn.
setComputerDeckId(long) - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Sets the computer's deck id of the game.
setComputerUnitsAlive(boolean) - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Sets the boolean sees if the computer's units are still alive in the game.
setContext(Application) - Static method in class edu.cnm.deepdive.cardcombat.service.CardCombatDatabase
Sets the application context.
setContext(Application) - Static method in class edu.cnm.deepdive.cardcombat.service.GoogleSignInService
Sets the application context for the class.
setCurrentHitPoints(int) - Method in class edu.cnm.deepdive.cardcombat.model.entity.UnitCard
Sets the current hit points of the unit card.
setCurrentMagicPoints(int) - Method in class edu.cnm.deepdive.cardcombat.model.entity.UnitCard
Sets the current magic points of the unit card.
setDeckId(long) - Method in class edu.cnm.deepdive.cardcombat.model.entity.UnitCard
Sets the deck id for the unit card.
setId(long) - Method in class edu.cnm.deepdive.cardcombat.model.entity.AttackCard
Sets the auto-generated id for the player.
setId(long) - Method in class edu.cnm.deepdive.cardcombat.model.entity.Deck
Sets the auto-generated id for the deck.
setId(long) - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Sets the auto-generated id for the scale.
setId(long) - Method in class edu.cnm.deepdive.cardcombat.model.entity.UnitCard
Sets the auto-generated id for the scale.
setId(long) - Method in class edu.cnm.deepdive.cardcombat.model.entity.User
Sets the auto-generated id for the player.
setName(String) - Method in class edu.cnm.deepdive.cardcombat.model.entity.Deck
Sets the name for the deck.
setOauthKey(String) - Method in class edu.cnm.deepdive.cardcombat.model.entity.User
Sets the OAuth key for the player.
setPlayerCriticalChance(int) - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Sets the current critical chance that the player has for the turn.
setPlayerDeckId(long) - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Sets the player's deck id of the game.
setPlayerUnitsAlive(boolean) - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Sets the boolean sees if the player's units are still alive in the game.
setQrCode(String) - Method in class edu.cnm.deepdive.cardcombat.model.entity.Deck
Sets the qr code associated with the deck.
setUnit(Unit) - Method in class edu.cnm.deepdive.cardcombat.model.entity.UnitCard
Sets the unit of the unit card (SWORDMASTER, DRAGOON, etc.): an enumerated type from the Unit enum.
setUnitCardId(long) - Method in class edu.cnm.deepdive.cardcombat.model.entity.AttackCard
Sets the unit card id of the attack card.
setUserId(long) - Method in class edu.cnm.deepdive.cardcombat.model.entity.Deck
Sets the user id for the deck.
setUserId(long) - Method in class edu.cnm.deepdive.cardcombat.model.entity.Game
Sets the user id of the game.
SHIELD - edu.cnm.deepdive.cardcombat.model.type.Skill
 
signIn - Variable in class edu.cnm.deepdive.cardcombat.databinding.ActivityLoginBinding
 
signOut() - Method in class edu.cnm.deepdive.cardcombat.service.GoogleSignInService
Signs the user out.
signOutButton - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentMainScreenBinding
 
Skill - Enum in edu.cnm.deepdive.cardcombat.model.type
The skills that the unit cards will be able to activate
startSignIn(Activity, int) - Method in class edu.cnm.deepdive.cardcombat.service.GoogleSignInService
Allows the activity to start a signin request.
SWORDMASTER - edu.cnm.deepdive.cardcombat.model.type.Unit
 

T

TARGET - edu.cnm.deepdive.cardcombat.model.type.Skill
 
testName - Variable in class edu.cnm.deepdive.cardcombat.databinding.FragmentMainScreenBinding
 
typeToInteger(AttackType) - Static method in enum edu.cnm.deepdive.cardcombat.model.type.AttackType
 

U

Unit - Enum in edu.cnm.deepdive.cardcombat.model.type
The types of possible unit cards.
UnitCard - Class in edu.cnm.deepdive.cardcombat.model.entity
Holds data in the database for available unit cards to be used.
UnitCard() - Constructor for class edu.cnm.deepdive.cardcombat.model.entity.UnitCard
 
UnitCardDao - Interface in edu.cnm.deepdive.cardcombat.model.dao
Provides an interface with methods that perform actions on the UnitCard table of the database.
unitToInteger(Unit) - Static method in enum edu.cnm.deepdive.cardcombat.model.type.Unit
 
update(AttackCard) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.AttackCardDao
Updates a single attack card in the database.
update(AttackCard...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.AttackCardDao
Updates multiple attack cards in the database.
update(Deck) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.DeckDao
Updates a single deck in the database.
update(Deck...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.DeckDao
Updates multiple decks in the database.
update(Game) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.GameDao
Updates a single game in the database.
update(Game...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.GameDao
Updates multiple games in the database.
update(UnitCard) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UnitCardDao
Updates a single unit card in the database.
update(UnitCard...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UnitCardDao
Updates multiple unit cards in the database.
update(User) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UserDao
Updates a single user in the database.
update(User...) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UserDao
Updates multiple users in the database.
update(Collection<AttackCard>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.AttackCardDao
Updates multiple attack cards in the database.
update(Collection<Deck>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.DeckDao
Updates multiple decks in the database.
update(Collection<Game>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.GameDao
Updates multiple games in the database.
update(Collection<UnitCard>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UnitCardDao
Updates multiple unit cards in the database.
update(Collection<User>) - Method in interface edu.cnm.deepdive.cardcombat.model.dao.UserDao
Updates multiple users in the database.
User - Class in edu.cnm.deepdive.cardcombat.model.entity
Holds data in the database for users of Card Combat.
User() - Constructor for class edu.cnm.deepdive.cardcombat.model.entity.User
 
UserDao - Interface in edu.cnm.deepdive.cardcombat.model.dao
Provides an interface with methods that perform actions on the User table of the database.
UserRepository - Class in edu.cnm.deepdive.cardcombat.service
UserRepository contains methods that provide a layer of abstraction above the UserDao, and allows for creation, reading, updating, and deleting of attempts.
UserRepository(Context) - Constructor for class edu.cnm.deepdive.cardcombat.service.UserRepository
The constructor initializes the context, the database, the dao, and the GoogleSignInService.
uuidToBytes(UUID) - Static method in class edu.cnm.deepdive.cardcombat.service.CardCombatDatabase.Converters
Converts a UUID object into bytes.

V

valueOf(String) - Static method in enum edu.cnm.deepdive.cardcombat.model.type.AttackType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.cnm.deepdive.cardcombat.model.type.Skill
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.cnm.deepdive.cardcombat.model.type.Unit
Returns the enum constant of this type with the specified name.
values() - Static method in enum edu.cnm.deepdive.cardcombat.model.type.AttackType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.cnm.deepdive.cardcombat.model.type.Skill
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.cnm.deepdive.cardcombat.model.type.Unit
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION_CODE - Static variable in class edu.cnm.deepdive.cardcombat.BuildConfig
 
VERSION_NAME - Static variable in class edu.cnm.deepdive.cardcombat.BuildConfig
 

W

WIZARD - edu.cnm.deepdive.cardcombat.model.type.Unit
 
A B C D E F G H I L M N O P Q R S T U V W 
All Classes All Packages