Class BaseCardResources

java.lang.Object
com.hiddenswitch.spellsource.core.AbstractCardResources<BaseCardResources>
com.hiddenswitch.spellsource.cards.base.BaseCardResources
All Implemented Interfaces:
com.hiddenswitch.spellsource.core.CardResources, AutoCloseable

public class BaseCardResources extends com.hiddenswitch.spellsource.core.AbstractCardResources<BaseCardResources>
Represents card resources with some base cards that are useful for testing and ensuring there is always at least one champion / class, format and set available for the runtime.
See Also:
  • for more about how to create a cards package.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class com.hiddenswitch.spellsource.core.AbstractCardResources

    LOGGER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class com.hiddenswitch.spellsource.core.AbstractCardResources

    close, getResources, load

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.hiddenswitch.spellsource.core.CardResources

    getDraftBannedCardIds, getHardRemovalCardIds
  • Field Details

  • Constructor Details

    • BaseCardResources

      public BaseCardResources()
  • Method Details

    • getDirectoryPrefix

      public String getDirectoryPrefix()
      Specified by:
      getDirectoryPrefix in class com.hiddenswitch.spellsource.core.AbstractCardResources<BaseCardResources>