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

[DNM] Initial Astreaus Dialogue System Rip #631

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dark98
Copy link
Collaborator

@Dark98 Dark98 commented Feb 26, 2023

No description provided.

Copy link
Contributor

@MatthewBishop MatthewBishop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just some initial thoughts

*/
public abstract class Dialogue {

private static Player player;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be static.

* @param dialogue
* The dialogue to sent.
*/
public final DialogueFactory sendDialogue(Dialogue dialogue) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we set player boolean to them using the new system here?

*
* @return The instance of this factory.
*/
public void clear() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should set player.dialoguePlugin to false here in the clear method.

public final class GeneralStoreDialogue extends Dialogue {
@Override
public void sendDialogues(DialogueFactory factory) {
factory.getPlayer().dialoguePlugin = true;
Copy link
Contributor

@ipkpjersi ipkpjersi Dec 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would name the variable here dialogue, not factory, since dialogue is a more descriptive name of what it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants