Search Results for

    Show / Hide Table of Contents

    Class ScoreSystem

    Scoring system

    Inheritance
    System.Object
    ScoreSystem
    Namespace: Tetris
    Assembly: cs.temp.dll.dll
    Syntax
    public class ScoreSystem : MonoBehaviour

    Fields

    CurrentAction

    Declaration
    public static float CurrentAction
    Field Value
    Type Description
    System.Single

    CurrentLevel

    Declaration
    public static int CurrentLevel
    Field Value
    Type Description
    System.Int32

    IsB2B

    Declaration
    public static bool IsB2B
    Field Value
    Type Description
    System.Boolean

    IsGameOverScoreSet

    Declaration
    public static bool IsGameOverScoreSet
    Field Value
    Type Description
    System.Boolean

    IsTSpinLastMove

    Declaration
    public static int IsTSpinLastMove
    Field Value
    Type Description
    System.Int32

    LinesCleared

    Declaration
    public static float LinesCleared
    Field Value
    Type Description
    System.Single

    NewRecordText

    Declaration
    public static Text NewRecordText
    Field Value
    Type Description
    Text

    Score

    Declaration
    public static float Score
    Field Value
    Type Description
    System.Single

    Methods

    ScoreCounter()

    Calculates current level and sets the fall speed based on cleared lines

    Declaration
    public static void ScoreCounter()
    Remarks

    Called at SpawnMino(Int32, String)

    In This Article
    Back to top © 2022 Ondřej Sakala. All rights reserved.