Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sinister Zeta Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sinister Zeta
Sinister Zeta Project
Commits
c4bf0a3c
Commit
c4bf0a3c
authored
4 years ago
by
Dallin Nickel (djn011)
Browse files
Options
Downloads
Patches
Plain Diff
Binding class created
parent
69c8bb90
No related branches found
No related tags found
2 merge requests
!45
Prototype to Master for Milestone 5
,
!44
Demo
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/model/Binding.java
+8
-0
8 additions, 0 deletions
src/model/Binding.java
with
8 additions
and
0 deletions
src/model/Binding.java
+
8
−
0
View file @
c4bf0a3c
...
...
@@ -23,10 +23,18 @@ public class Binding {
this
.
hk2
=
hotkey2
;
}
/**
* return the ID of the hotkey/action binding
* @return ID
*/
public
int
getID
()
{
return
this
.
hk1
.
getID
();
}
/**
* return the action code to be preformed when the action is pressed
* @return action keyCode
*/
public
int
getActionCode
()
{
return
this
.
hk2
.
getKeyCode
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment