root / client / src / com / gonnatrak / client / HistoryToken.java @ 1

View | Annotate | Download

1
/**
2
 * Created by Andrey Khalzov
3
 * 22.12.2008 20:50:19
4
 */
5
package com.gonnatrak.client;
6
7
import com.gonnatrak.client.state.command.*;
8
9
public enum HistoryToken {
10
    Start(new StartStateCommand()),
11
    RemindPass(new RemindPassStateCommand()),
12
    Register(new RegisterCommand()),
13
    Login(new LoginCommand()),
14
    Logout(new LogoutCommand());
15
16
    private StateCommand state;
17
18
    HistoryToken(StateCommand state) {
19
        this.state = state;
20
    }
21
22
    public StateCommand getStateCommand() {
23
        return state;
24
    }
25
}