Android: Convert SkylanderSlot to Kotlin

This commit is contained in:
Charles Lombardo 2023-03-01 17:14:52 -05:00
parent bbc1951afb
commit 36f1315513
2 changed files with 7 additions and 42 deletions

View File

@ -1,42 +0,0 @@
// SPDX-License-Identifier: GPL-2.0-or-later
package org.dolphinemu.dolphinemu.features.skylanders.ui;
public class SkylanderSlot
{
private String mLabel;
private final int mSlotNum;
private int mPortalSlot;
public SkylanderSlot(String label, int slot)
{
mLabel = label;
mSlotNum = slot;
mPortalSlot = -1;
}
public String getLabel()
{
return mLabel;
}
public void setLabel(String label)
{
mLabel = label;
}
public int getSlotNum()
{
return mSlotNum;
}
public int getPortalSlot()
{
return mPortalSlot;
}
public void setPortalSlot(int mPortalSlot)
{
this.mPortalSlot = mPortalSlot;
}
}

View File

@ -0,0 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
package org.dolphinemu.dolphinemu.features.skylanders.ui
class SkylanderSlot(var label: String, val slotNum: Int) {
var portalSlot: Int = -1
}