DoopelPonger
Public Member Functions | List of all members
CoopReadFileActionPatternProvider Class Reference

Provider that reads in all files that end in .pattern within the Unity streaming assets directory. More...

Inheritance diagram for CoopReadFileActionPatternProvider:
Inheritance graph
[legend]
Collaboration diagram for CoopReadFileActionPatternProvider:
Collaboration graph
[legend]

Public Member Functions

override CoopBaseActionPattern GetActionPattern ()
 
override void Init ()
 Set up anything needed to create the action pattern. More...
 

Detailed Description

Provider that reads in all files that end in .pattern within the Unity streaming assets directory.

This class reads in all the files and will pick one at random when the GetActionPatterns method is called. The call also makes sure that the last pattern returned won't be returned a second time in a row.

Member Function Documentation

◆ GetActionPattern()

override CoopBaseActionPattern CoopReadFileActionPatternProvider.GetActionPattern ( )
virtual
Returns
The action pattern that should be used.

Implements CoopAbstractActionPatternProvider.

◆ Init()

override void CoopReadFileActionPatternProvider.Init ( )
virtual

Set up anything needed to create the action pattern.

Implements CoopAbstractActionPatternProvider.


The documentation for this class was generated from the following file: