Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement QuestObjective expire duration #1352

Closed
AlmasB opened this issue Feb 24, 2024 · 1 comment
Closed

Implement QuestObjective expire duration #1352

AlmasB opened this issue Feb 24, 2024 · 1 comment
Labels
codefest23-24 difficulty:medium API design elements, need time to think through

Comments

@AlmasB
Copy link
Owner

AlmasB commented Feb 24, 2024

See:

sealed class QuestObjective
@JvmOverloads
constructor(

        /**
         * Text that tells the player how to achieve this objective.
         */
        val description: String,
        
        /**
         * How much time is given to complete this objective.
         * Default: 0 - unlimited.
         */
        val expireDuration: Duration = Duration.ZERO)
@AlmasB AlmasB added difficulty:medium API design elements, need time to think through codefest23-24 labels Feb 24, 2024
@AlmasB
Copy link
Owner Author

AlmasB commented Mar 17, 2024

Completed by commit

@AlmasB AlmasB closed this as completed Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codefest23-24 difficulty:medium API design elements, need time to think through
Projects
None yet
Development

No branches or pull requests

1 participant